diff options
author | Tulir Asokan <tulir@maunium.net> | 2020-02-19 01:14:02 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2020-02-19 01:14:02 +0200 |
commit | d02abd079fe58bae467672dc7d2a140f9f07bb85 (patch) | |
tree | 7972380c8aad12a3571aee7065ba450433c260dc /interface | |
parent | b4e27723d7ad6287d34f4cfc1f5a15b0074b59d1 (diff) |
Add support for editing messages
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 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) |