aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-04-30 23:09:14 +0300
committerTulir Asokan <tulir@maunium.net>2018-04-30 23:09:14 +0300
commitc600ce68a2684fdeebfbe9580c6ff833257450ed (patch)
treeedc841c9015a8128b241ab0e55a06026b46f09e9 /interface
parent9ad3a95ba6cf1375745186d14e17b365205dc587 (diff)
Fix room list updating when joining/leaving
Diffstat (limited to 'interface')
-rw-r--r--interface/matrix.go2
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