From ba387764ca1590625d349e74eb8a8a64d1849b67 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 14 Nov 2018 00:00:35 +0200 Subject: Fix things --- config/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/config.go b/config/config.go index e4fb743..8f45d76 100644 --- a/config/config.go +++ b/config/config.go @@ -25,7 +25,7 @@ import ( "strings" "gopkg.in/yaml.v2" - "maunium.net/go/gomatrix" + "maunium.net/go/mautrix" "maunium.net/go/gomuks/debug" "maunium.net/go/gomuks/matrix/pushrules" "maunium.net/go/gomuks/matrix/rooms" @@ -289,12 +289,12 @@ func (config *Config) PutRoom(room *rooms.Room) { room.Save(config.getRoomCachePath(room)) } -func (config *Config) SaveRoom(room *gomatrix.Room) { +func (config *Config) SaveRoom(room *mautrix.Room) { gmxRoom := config.GetRoom(room.ID) gmxRoom.Room = room gmxRoom.Save(config.getRoomCachePath(gmxRoom)) } -func (config *Config) LoadRoom(roomID string) *gomatrix.Room { +func (config *Config) LoadRoom(roomID string) *mautrix.Room { return config.GetRoom(roomID).Room } -- cgit v1.2.3