aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
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()