aboutsummaryrefslogtreecommitdiff
path: root/interface/matrix.go
diff options
context:
space:
mode:
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
}