diff options
author | Tulir Asokan <tulir@maunium.net> | 2020-03-01 22:35:21 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2020-03-01 22:35:25 +0200 |
commit | c829e436e46ace700045eaaf31bc4abf286e1156 (patch) | |
tree | 17fc5584554352279419759d273d283a130e3579 /interface | |
parent | 5ea77a6c5f1ad351cdc0159181cc45ae3b1f3d1a (diff) |
Implement sending redactions
Diffstat (limited to 'interface')
-rw-r--r-- | interface/matrix.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/matrix.go b/interface/matrix.go index 34e8dda..6814f07 100644 --- a/interface/matrix.go +++ b/interface/matrix.go @@ -42,6 +42,7 @@ type MatrixContainer interface { SendPreferencesToMatrix() PrepareMarkdownMessage(roomID string, msgtype mautrix.MessageType, message string, relation *Relation) *event.Event SendEvent(evt *event.Event) (string, error) + Redact(roomID, eventID, reason string) error SendTyping(roomID string, typing bool) MarkRead(roomID, eventID string) JoinRoom(roomID, server string) (*rooms.Room, error) |