Stop showing rooms the user has left in the room list. Fixes #35

This commit is contained in:
Tulir Asokan
2018-04-30 22:28:29 +03:00
parent a6b8c20b20
commit b3543e9090
5 changed files with 52 additions and 33 deletions

View File

@ -47,6 +47,9 @@ type RoomTag struct {
type Room struct {
*gomatrix.Room
// Whether or not the user has left the room.
HasLeft bool
// The first batch of events that has been fetched for this room.
// Used for fetching additional history.
PrevBatch string