diff options
author | Tulir Asokan <tulir@maunium.net> | 2020-02-22 00:03:57 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2020-02-22 00:03:57 +0200 |
commit | 442fdac4d5b949e556e94b0be53f2208709e8bf3 (patch) | |
tree | f63cb447525cdc15a4d733f857aefc82a0c9a7b7 /interface | |
parent | 032a83d70bec5b87605e04c755c678ec01a0de11 (diff) |
Enable lazy loading of members
Diffstat (limited to 'interface')
-rw-r--r-- | interface/matrix.go | 1 |
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 |