Support formatting in rainbows

Fixes #119
This commit is contained in:
Tulir Asokan
2020-03-20 14:32:29 +02:00
parent 5a2c74514d
commit 87b394abec
10 changed files with 159 additions and 54 deletions

View File

@ -40,7 +40,7 @@ type MatrixContainer interface {
Logout()
SendPreferencesToMatrix()
PrepareMarkdownMessage(roomID string, msgtype mautrix.MessageType, message string, relation *Relation) *event.Event
PrepareMarkdownMessage(roomID string, msgtype mautrix.MessageType, text, html string, relation *Relation) *event.Event
SendEvent(evt *event.Event) (string, error)
Redact(roomID, eventID, reason string) error
SendTyping(roomID string, typing bool)