diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-05-10 20:07:24 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-05-10 20:07:24 +0300 |
commit | 1e6b5996491d7d27147a0dea2b52c36577820d63 (patch) | |
tree | c7f55b9a7a3797511254d0e55971ea535f1badf6 /interface | |
parent | 248db71c76988188f4021621837a8d024efa1d73 (diff) |
Don't parse room ID
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 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) |