Remove room alias argument and switch to room after creating

This commit is contained in:
Tulir Asokan
2019-06-14 20:56:41 +03:00
parent fcd44fe63f
commit 7c39729ada
2 changed files with 10 additions and 23 deletions

View File

@ -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)