diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-05-17 16:30:02 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-05-17 16:30:02 +0300 |
commit | e079f7615728517b143dae4d62755d5018b28f76 (patch) | |
tree | cf3c49455307db55a778ba078b6336122db4abfa | |
parent | 76cff9554001ca3727e2ba11b790e9bba27d6b77 (diff) |
Don't delete empty tags to avoid bugs
-rw-r--r-- | ui/room-list.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/room-list.go b/ui/room-list.go index 268666d..0bf44e4 100644 --- a/ui/room-list.go +++ b/ui/room-list.go @@ -320,7 +320,7 @@ func (list *RoomList) RemoveFromTag(tag string, room *rooms.Room) { tagRoomList.RemoveIndex(index) if tagRoomList.IsEmpty() { - delete(list.items, tag) + // delete(list.items, tag) } if room == list.selected { |