aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-05-10 20:07:24 +0300
committerTulir Asokan <tulir@maunium.net>2018-05-10 20:07:24 +0300
commit1e6b5996491d7d27147a0dea2b52c36577820d63 (patch)
treec7f55b9a7a3797511254d0e55971ea535f1badf6 /interface
parent248db71c76988188f4021621837a8d024efa1d73 (diff)
Don't parse room ID
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 73d9ec9..6430686 100644
--- a/interface/matrix.go
+++ b/interface/matrix.go
@@ -35,7 +35,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) (*rooms.Room, error)
+ JoinRoom(roomID, server string) (*rooms.Room, error)
LeaveRoom(roomID string) error
GetHistory(roomID, prevBatch string, limit int) ([]gomatrix.Event, string, error)