aboutsummaryrefslogtreecommitdiff
path: root/interface/matrix.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-04-14 18:09:02 +0300
committerGitHub <noreply@github.com>2018-04-14 18:09:02 +0300
commit53cdfb64c1773b63fb9432a1525b4ac4acb154fc (patch)
tree1c1aa180313abe8179d0b07591348e222b60483e /interface/matrix.go
parent14a84295d72a24a8bce8a71c240ab2b155ed5a1f (diff)
parentd060d10615434c557373ee00ba009cc8b583e881 (diff)
Merge pull request #18 from tulir/ui-refactor
Refactor UI to use interfaces and add advanced message rendering
Diffstat (limited to 'interface/matrix.go')
-rw-r--r--interface/matrix.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/interface/matrix.go b/interface/matrix.go
index f811dff..3a1ec14 100644
--- a/interface/matrix.go
+++ b/interface/matrix.go
@@ -34,4 +34,6 @@ 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, string, string, error)
+ GetCachePath(homeserver, fileID string) string
}