From c829e436e46ace700045eaaf31bc4abf286e1156 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 1 Mar 2020 22:35:21 +0200 Subject: Implement sending redactions --- interface/matrix.go | 1 + 1 file changed, 1 insertion(+) (limited to 'interface') 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) -- cgit v1.2.3