diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-04-18 14:20:57 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-04-18 14:46:03 +0300 |
commit | bb36996194492db6cc17f9cfd91769f31df7003b (patch) | |
tree | a10b83a338615e5386a05d38913b3f97165b1792 /interface | |
parent | 3750d5007fe31b1a4d706357f43774d08944213e (diff) |
Add support for sending Markdown messages
Diffstat (limited to 'interface')
-rw-r--r-- | interface/matrix.go | 1 | ||||
-rw-r--r-- | interface/ui.go | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/interface/matrix.go b/interface/matrix.go index 3a1ec14..b53adca 100644 --- a/interface/matrix.go +++ b/interface/matrix.go @@ -29,6 +29,7 @@ type MatrixContainer interface { Start() Stop() SendMessage(roomID, msgtype, message string) (string, error) + SendMarkdownMessage(roomID, msgtype, message string) (string, error) SendTyping(roomID string, typing bool) JoinRoom(roomID string) error LeaveRoom(roomID string) error diff --git a/interface/ui.go b/interface/ui.go index 27212af..271dbd2 100644 --- a/interface/ui.go +++ b/interface/ui.go @@ -89,7 +89,6 @@ type MessageMeta interface { Timestamp() time.Time FormatTime() string FormatDate() string - CopyFrom(from MessageMeta) } // MessageState is an enum to specify if a Message is being sent, failed to send or was successfully sent. |