Implement sending redactions

This commit is contained in:
Tulir Asokan
2020-03-01 22:35:21 +02:00
parent 5ea77a6c5f
commit c829e436e4
4 changed files with 25 additions and 6 deletions

View File

@ -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)