aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-04-24 22:58:30 +0300
committerGitHub <noreply@github.com>2018-04-24 22:58:30 +0300
commit7026ed99a3ef4071a35e74d2d5f9026f6848be92 (patch)
tree33332880db2cbdaeabaeb4e1ddbf94a3f15686a3 /interface
parent49cd74c548e3baf259fce9270af3ecca5bdb625e (diff)
parentd7d654e2ec0a1d001f936b1575a3e6af3973a874 (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')
-rw-r--r--interface/ui.go2
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)