diff options
author | Tulir Asokan <tulir@maunium.net> | 2020-04-19 18:06:45 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2020-04-19 18:06:49 +0300 |
commit | a66b02ae8b65db97ee51adccd34cd6c173f22b8d (patch) | |
tree | a1ec45bc7be7eb797d7b9ca0dc4b98d0d1bde188 /config | |
parent | 6a907354e21469a83c51f50bc4dd520ffe8915d6 (diff) |
Add progress bar for first sync
Diffstat (limited to 'config')
-rw-r--r-- | config/config.go | 12 |
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() -} |