diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-04-24 22:58:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-24 22:58:30 +0300 |
commit | 7026ed99a3ef4071a35e74d2d5f9026f6848be92 (patch) | |
tree | 33332880db2cbdaeabaeb4e1ddbf94a3f15686a3 /interface/ui.go | |
parent | 49cd74c548e3baf259fce9270af3ecca5bdb625e (diff) | |
parent | d7d654e2ec0a1d001f936b1575a3e6af3973a874 (diff) |
Merge pull request #33 from tulir/initial-sync
Use initial sync data instead of fetching room list, state, history, etc manually
Diffstat (limited to 'interface/ui.go')
-rw-r--r-- | interface/ui.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/ui.go b/interface/ui.go index c36819a..baa34bc 100644 --- a/interface/ui.go +++ b/interface/ui.go @@ -51,7 +51,7 @@ type MainView interface { GetRoom(roomID string) RoomView AddRoom(roomID string) RemoveRoom(roomID string) - SetRooms(roomIDs []string) + SetRooms(rooms map[string]*rooms.Room) SaveAllHistory() UpdateTags(room *rooms.Room, newTags []rooms.RoomTag) |