aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2019-06-14 20:56:41 +0300
committerTulir Asokan <tulir@maunium.net>2019-06-14 20:56:41 +0300
commit7c39729ada794aa2bfe91028ae3f3cfd3020de6f (patch)
treee0849f82637631baa5b800b32e5534fc2884329b /interface
parentfcd44fe63fe0cedc038db92ae39507237cc5589a (diff)
Remove room alias argument and switch to room after creating
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)