aboutsummaryrefslogtreecommitdiff
path: root/interface/matrix.go
diff options
context:
space:
mode:
Diffstat (limited to 'interface/matrix.go')
-rw-r--r--interface/matrix.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/matrix.go b/interface/matrix.go
index bfce8b5..8c80c6d 100644
--- a/interface/matrix.go
+++ b/interface/matrix.go
@@ -34,8 +34,8 @@ type MatrixContainer interface {
Logout()
SendPreferencesToMatrix()
- SendMessage(roomID string, msgtype mautrix.MessageType, message string) (string, error)
- SendMarkdownMessage(roomID string, msgtype mautrix.MessageType, message string) (string, error)
+ PrepareMarkdownMessage(roomID string, msgtype mautrix.MessageType, message string) *mautrix.Event
+ SendEvent(event *mautrix.Event) (string, error)
SendTyping(roomID string, typing bool)
MarkRead(roomID, eventID string)
JoinRoom(roomID, server string) (*rooms.Room, error)