Don't delete empty tags to avoid bugs

This commit is contained in:
Tulir Asokan 2018-05-17 16:30:02 +03:00
parent 76cff95540
commit e079f76157

View File

@ -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 {