From d53aa02c0f6cc0b153d227167fcf3b5c74e12d3a Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 11 May 2018 07:53:17 +0300 Subject: Add test for DeleteSession() and fix potential bug in roomlist CheckTag() --- ui/room-list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/room-list.go b/ui/room-list.go index 3ef64c3..8096c8d 100644 --- a/ui/room-list.go +++ b/ui/room-list.go @@ -274,7 +274,7 @@ func (list *RoomList) CheckTag(tag string) { tagRoomList, ok := list.items[tag] if ok && tagRoomList.IsEmpty() { - delete(list.items, tag) + //delete(list.items, tag) ok = false } -- cgit v1.2.3