From 986c84b7689e29c4bbe6b124bee3e24707e6d51a Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 30 Apr 2018 23:12:43 +0300 Subject: Update ui AddRoom and RemoveRoom parameters --- interface/ui.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interface') 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() -- cgit v1.2.3