aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-03-01 22:35:21 +0200
committerTulir Asokan <tulir@maunium.net>2020-03-01 22:35:25 +0200
commitc829e436e46ace700045eaaf31bc4abf286e1156 (patch)
tree17fc5584554352279419759d273d283a130e3579 /interface
parent5ea77a6c5f1ad351cdc0159181cc45ae3b1f3d1a (diff)
Implement sending redactions
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 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)