diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/view-main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/view-main.go b/ui/view-main.go index b7bbf6d..8d6941f 100644 --- a/ui/view-main.go +++ b/ui/view-main.go @@ -358,6 +358,9 @@ func (view *MainView) SetRooms(rooms map[string]*rooms.Room) { view.roomView.Clear() view.rooms = make(map[string]*RoomView) for _, room := range rooms { + if room.HasLeft { + continue + } view.roomList.Add(room) view.addRoomPage(room) } |