From 7c39729ada794aa2bfe91028ae3f3cfd3020de6f Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 14 Jun 2019 20:56:41 +0300 Subject: Remove room alias argument and switch to room after creating --- interface/matrix.go | 1 + 1 file changed, 1 insertion(+) (limited to 'interface/matrix.go') 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) -- cgit v1.2.3