aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
Diffstat (limited to 'interface')
-rw-r--r--interface/matrix.go1
-rw-r--r--interface/ui.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/interface/matrix.go b/interface/matrix.go
index 6430686..8b450a9 100644
--- a/interface/matrix.go
+++ b/interface/matrix.go
@@ -35,6 +35,7 @@ type MatrixContainer interface {
SendMessage(roomID, msgtype, message string) (string, error)
SendMarkdownMessage(roomID, msgtype, message string) (string, error)
SendTyping(roomID string, typing bool)
+ MarkRead(roomID, eventID string)
JoinRoom(roomID, server string) (*rooms.Room, error)
LeaveRoom(roomID string) error
diff --git a/interface/ui.go b/interface/ui.go
index b69f048..6023953 100644
--- a/interface/ui.go
+++ b/interface/ui.go
@@ -46,7 +46,7 @@ type MainView interface {
SetRooms(rooms map[string]*rooms.Room)
SaveAllHistory()
- UpdateTags(room *rooms.Room, newTags []rooms.RoomTag)
+ UpdateTags(room *rooms.Room)
SetTyping(roomID string, users []string)
ParseEvent(roomView RoomView, evt *gomatrix.Event) Message