From 442fdac4d5b949e556e94b0be53f2208709e8bf3 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 22 Feb 2020 00:03:57 +0200 Subject: Enable lazy loading of members --- interface/matrix.go | 1 + 1 file changed, 1 insertion(+) (limited to 'interface') 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 -- cgit v1.2.3