aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-02-19 01:14:02 +0200
committerTulir Asokan <tulir@maunium.net>2020-02-19 01:14:02 +0200
commitd02abd079fe58bae467672dc7d2a140f9f07bb85 (patch)
tree7972380c8aad12a3571aee7065ba450433c260dc /interface
parentb4e27723d7ad6287d34f4cfc1f5a15b0074b59d1 (diff)
Add support for editing messages
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 424273b..af20509 100644
--- a/interface/matrix.go
+++ b/interface/matrix.go
@@ -35,7 +35,7 @@ type MatrixContainer interface {
Logout()
SendPreferencesToMatrix()
- PrepareMarkdownMessage(roomID string, msgtype mautrix.MessageType, message string) *event.Event
+ PrepareMarkdownMessage(roomID string, msgtype mautrix.MessageType, message string, edit *event.Event) *event.Event
SendEvent(evt *event.Event) (string, error)
SendTyping(roomID string, typing bool)
MarkRead(roomID, eventID string)