diff options
Diffstat (limited to 'interface')
-rw-r--r-- | interface/matrix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/matrix.go b/interface/matrix.go index b53adca..95122cc 100644 --- a/interface/matrix.go +++ b/interface/matrix.go @@ -31,7 +31,7 @@ type MatrixContainer interface { SendMessage(roomID, msgtype, message string) (string, error) SendMarkdownMessage(roomID, msgtype, message string) (string, error) SendTyping(roomID string, typing bool) - JoinRoom(roomID string) error + JoinRoom(roomID string) (*rooms.Room, error) LeaveRoom(roomID string) error GetHistory(roomID, prevBatch string, limit int) ([]gomatrix.Event, string, error) GetRoom(roomID string) *rooms.Room |