aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-03-23 01:00:13 +0200
committerTulir Asokan <tulir@maunium.net>2018-03-23 01:00:13 +0200
commit16635dcde7b3402e7eff44864b4dba5a2ddd8a37 (patch)
tree35c00039aa5c8af833f94623ae717efae7b1ebf9 /interface
parenta5e7800ab6e0e3ebf38b1a0e809d64afba649024 (diff)
Refactor PushRuleset#GetActions() and ViewMain event processing
Diffstat (limited to 'interface')
-rw-r--r--interface/ui.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/ui.go b/interface/ui.go
index ada1cc0..f08c9f3 100644
--- a/interface/ui.go
+++ b/interface/ui.go
@@ -49,8 +49,8 @@ type MainView interface {
SetTyping(roomID string, users []string)
AddServiceMessage(roomID *widget.RoomView, message string)
- ProcessMessageEvent(evt *gomatrix.Event) (*widget.RoomView, *types.Message)
- ProcessMembershipEvent(evt *gomatrix.Event, new bool) (*widget.RoomView, *types.Message)
+ ProcessMessageEvent(roomView *widget.RoomView, evt *gomatrix.Event) *types.Message
+ ProcessMembershipEvent(roomView *widget.RoomView, evt *gomatrix.Event) *types.Message
}
type LoginView interface {