aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-05-11 07:53:17 +0300
committerTulir Asokan <tulir@maunium.net>2018-05-11 07:53:17 +0300
commitd53aa02c0f6cc0b153d227167fcf3b5c74e12d3a (patch)
tree4de52a96c2c49f35ea19e0333f3324f43f3645a2 /ui
parent1dd036691e5af34c94c25d94bd7c8e5b1581dcb9 (diff)
Add test for DeleteSession() and fix potential bug in roomlist CheckTag()
Diffstat (limited to 'ui')
-rw-r--r--ui/room-list.go2
1 files changed, 1 insertions, 1 deletions
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
}