diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-03-26 17:22:47 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-03-26 17:22:47 +0300 |
commit | b31d96881432ebb1d4918ae970fabfd6362e1186 (patch) | |
tree | 565340e18ce1f9107f52285215a53765b4afaf38 /interface | |
parent | 6095638fbb0a39fa240a135cf47e54ce5681ee9d (diff) |
Show notifications and highlights in room list. Fixes #8
Diffstat (limited to 'interface')
-rw-r--r-- | interface/ui.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interface/ui.go b/interface/ui.go index 43e214b..c0ddf53 100644 --- a/interface/ui.go +++ b/interface/ui.go @@ -18,6 +18,8 @@ package ifc import ( "maunium.net/go/gomatrix" + "maunium.net/go/gomuks/matrix/pushrules" + "maunium.net/go/gomuks/matrix/rooms" "maunium.net/go/gomuks/ui/types" "maunium.net/go/gomuks/ui/widget" "maunium.net/go/tview" @@ -51,6 +53,7 @@ type MainView interface { AddServiceMessage(roomID *widget.RoomView, message string) ProcessMessageEvent(roomView *widget.RoomView, evt *gomatrix.Event) *types.Message ProcessMembershipEvent(roomView *widget.RoomView, evt *gomatrix.Event) *types.Message + NotifyMessage(room *rooms.Room, message *types.Message, should pushrules.PushActionArrayShould) } type LoginView interface { |