aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
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 8c80c6d..f312df1 100644
--- a/interface/matrix.go
+++ b/interface/matrix.go
@@ -40,6 +40,7 @@ type MatrixContainer interface {
MarkRead(roomID, eventID string)
JoinRoom(roomID, server string) (*rooms.Room, error)
LeaveRoom(roomID string) error
+ CreateRoom(req *mautrix.ReqCreateRoom) (*rooms.Room, error)
GetHistory(room *rooms.Room, limit int) ([]*mautrix.Event, error)
GetEvent(room *rooms.Room, eventID string) (*mautrix.Event, error)