aboutsummaryrefslogtreecommitdiff
path: root/matrix/rooms
diff options
context:
space:
mode:
Diffstat (limited to 'matrix/rooms')
-rw-r--r--matrix/rooms/room.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/matrix/rooms/room.go b/matrix/rooms/room.go
index 95349c3..808eecb 100644
--- a/matrix/rooms/room.go
+++ b/matrix/rooms/room.go
@@ -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