aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-05-10 15:47:24 +0300
committerTulir Asokan <tulir@maunium.net>2018-05-10 15:47:24 +0300
commit151141f288e51e427168cee1340a7163bf58309a (patch)
treeca025dcc96d595fdd77b9934836b96da2773df41 /interface
parente42ce27e0a3f9d04160f892f67c73b81fc076dd3 (diff)
Add command to log out
Diffstat (limited to 'interface')
-rw-r--r--interface/matrix.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/matrix.go b/interface/matrix.go
index 40710ac..73d9ec9 100644
--- a/interface/matrix.go
+++ b/interface/matrix.go
@@ -30,6 +30,7 @@ type MatrixContainer interface {
Stop()
Login(user, password string) error
+ Logout()
SendMessage(roomID, msgtype, message string) (string, error)
SendMarkdownMessage(roomID, msgtype, message string) (string, error)