aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.go6
1 files changed, 3 insertions, 3 deletions
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
}