aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-04-30 23:12:43 +0300
committerTulir Asokan <tulir@maunium.net>2018-04-30 23:12:43 +0300
commit986c84b7689e29c4bbe6b124bee3e24707e6d51a (patch)
treef97f1cccbf4f0fb2979bda3a04651173afbf18b2 /interface
parentc600ce68a2684fdeebfbe9580c6ff833257450ed (diff)
Update ui AddRoom and RemoveRoom parameters
Diffstat (limited to 'interface')
-rw-r--r--interface/ui.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/ui.go b/interface/ui.go
index baa34bc..add3ee7 100644
--- a/interface/ui.go
+++ b/interface/ui.go
@@ -49,8 +49,8 @@ type GomuksUI interface {
type MainView interface {
GetRoom(roomID string) RoomView
- AddRoom(roomID string)
- RemoveRoom(roomID string)
+ AddRoom(room *rooms.Room)
+ RemoveRoom(room *rooms.Room)
SetRooms(rooms map[string]*rooms.Room)
SaveAllHistory()