aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
Diffstat (limited to 'interface')
-rw-r--r--interface/ui.go3
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 {