aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
Diffstat (limited to 'interface')
-rw-r--r--interface/matrix.go3
-rw-r--r--interface/ui.go2
2 files changed, 3 insertions, 2 deletions
diff --git a/interface/matrix.go b/interface/matrix.go
index cf011cf..3a1ec14 100644
--- a/interface/matrix.go
+++ b/interface/matrix.go
@@ -34,5 +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, error)
+ Download(mxcURL string) ([]byte, string, string, error)
+ GetCachePath(homeserver, fileID string) string
}
diff --git a/interface/ui.go b/interface/ui.go
index 8d3836d..fed1a73 100644
--- a/interface/ui.go
+++ b/interface/ui.go
@@ -71,7 +71,7 @@ const (
type RoomView interface {
MxRoom() *rooms.Room
SaveHistory(dir string) error
- LoadHistory(dir string) (int, error)
+ LoadHistory(gmx Gomuks, dir string) (int, error)
SetStatus(status string)
SetTyping(users []string)