diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-04-14 18:09:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-14 18:09:02 +0300 |
commit | 53cdfb64c1773b63fb9432a1525b4ac4acb154fc (patch) | |
tree | 1c1aa180313abe8179d0b07591348e222b60483e /interface/matrix.go | |
parent | 14a84295d72a24a8bce8a71c240ab2b155ed5a1f (diff) | |
parent | d060d10615434c557373ee00ba009cc8b583e881 (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.go | 2 |
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 } |