aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-02-22 00:03:57 +0200
committerTulir Asokan <tulir@maunium.net>2020-02-22 00:03:57 +0200
commit442fdac4d5b949e556e94b0be53f2208709e8bf3 (patch)
treef63cb447525cdc15a4d733f857aefc82a0c9a7b7 /interface
parent032a83d70bec5b87605e04c755c678ec01a0de11 (diff)
Enable lazy loading of members
Diffstat (limited to 'interface')
-rw-r--r--interface/matrix.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/matrix.go b/interface/matrix.go
index af20509..0b1278d 100644
--- a/interface/matrix.go
+++ b/interface/matrix.go
@@ -43,6 +43,7 @@ type MatrixContainer interface {
LeaveRoom(roomID string) error
CreateRoom(req *mautrix.ReqCreateRoom) (*rooms.Room, error)
+ FetchMembers(room *rooms.Room) error
GetHistory(room *rooms.Room, limit int) ([]*event.Event, error)
GetEvent(room *rooms.Room, eventID string) (*event.Event, error)
GetRoom(roomID string) *rooms.Room