aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-04-19 18:06:45 +0300
committerTulir Asokan <tulir@maunium.net>2020-04-19 18:06:49 +0300
commita66b02ae8b65db97ee51adccd34cd6c173f22b8d (patch)
treea1ec45bc7be7eb797d7b9ca0dc4b98d0d1bde188 /config
parent6a907354e21469a83c51f50bc4dd520ffe8915d6 (diff)
Add progress bar for first sync
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()
-}