Allow clicking images and load images from cache
This commit is contained in:
@ -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
|
||||
}
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user