Don't delete empty tags to avoid bugs
This commit is contained in:
parent
76cff95540
commit
e079f76157
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user