aboutsummaryrefslogtreecommitdiff
path: root/interface/matrix.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-04-10 19:31:28 +0300
committerTulir Asokan <tulir@maunium.net>2018-04-10 19:31:28 +0300
commit8270bc0322ac262f4b48c92d5fad25cf9634f1bb (patch)
tree8ff85b17f4d2948b8d3bae40738d97ad25f43488 /interface/matrix.go
parentee67c1446cbb3c446d59d4ebd9657a25bf0b702d (diff)
Move event parsing to ui/messages and add image displaying
Diffstat (limited to 'interface/matrix.go')
-rw-r--r--interface/matrix.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/matrix.go b/interface/matrix.go
index f811dff..b7b52c3 100644
--- a/interface/matrix.go
+++ b/interface/matrix.go
@@ -34,4 +34,5 @@ type MatrixContainer interface {
LeaveRoom(roomID string) error
GetHistory(roomID, prevBatch string, limit int) ([]gomatrix.Event, string, error)
GetRoom(roomID string) *rooms.Room
+ Download(mxcURL string) ([]byte, error)
}