aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-03-20 19:14:39 +0200
committerTulir Asokan <tulir@maunium.net>2018-03-20 19:55:42 +0200
commit095b982603c26e250e61cf006157019e2b55be74 (patch)
tree080644e83572b0dff33e77fbad5e2301243fd5ab /interface
parent59cd9003013aa62495d2a73c28f22fd7e64f861a (diff)
Show messages in message view while sending
Diffstat (limited to 'interface')
-rw-r--r--interface/matrix.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/interface/matrix.go b/interface/matrix.go
index 4c30b5e..c40639d 100644
--- a/interface/matrix.go
+++ b/interface/matrix.go
@@ -28,10 +28,7 @@ type MatrixContainer interface {
Login(user, password string) error
Start()
Stop()
- // HandleMessage(evt *gomatrix.Event)
- // HandleMembership(evt *gomatrix.Event)
- // HandleTyping(evt *gomatrix.Event)
- SendMessage(roomID, message string)
+ SendMessage(roomID, message string) (string, error)
SendTyping(roomID string, typing bool)
JoinRoom(roomID string) error
LeaveRoom(roomID string) error