aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/config/config.go b/config/config.go
index 37058cd..098e99b 100644
--- a/config/config.go
+++ b/config/config.go
@@ -273,15 +273,3 @@ func (config *Config) SaveRoom(_ *mautrix.Room) {
func (config *Config) LoadRoom(_ id.RoomID) *mautrix.Room {
panic("LoadRoom is not supported")
}
-
-func (config *Config) GetRoom(roomID id.RoomID) *rooms.Room {
- return config.Rooms.GetOrCreate(roomID)
-}
-
-func (config *Config) DisableUnloading() {
- config.Rooms.DisableUnloading()
-}
-
-func (config *Config) EnableUnloading() {
- config.Rooms.EnableUnloading()
-}