diff options
author | Tulir Asokan <tulir@maunium.net> | 2019-06-17 12:27:31 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2019-06-17 12:27:31 +0300 |
commit | fe439f076ad3d76c459c9a76c4bbdcda5182ed85 (patch) | |
tree | c15399d67bea1661088146e0c28cab0a39a3a4ed /interface/ui.go | |
parent | 754f8e493df64d6532ace194f3e75c9ccf5bfd95 (diff) |
Wrap events in custom struct to add gomuks-specific fields
Diffstat (limited to 'interface/ui.go')
-rw-r--r-- | interface/ui.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/ui.go b/interface/ui.go index ad2458a..32925a8 100644 --- a/interface/ui.go +++ b/interface/ui.go @@ -19,9 +19,9 @@ package ifc import ( "time" + "maunium.net/go/gomuks/matrix/event" "maunium.net/go/gomuks/matrix/pushrules" "maunium.net/go/gomuks/matrix/rooms" - "maunium.net/go/mautrix" ) type UIProvider func(gmx Gomuks) GomuksUI @@ -60,7 +60,7 @@ type RoomView interface { SetTyping(users []string) UpdateUserList() - ParseEvent(evt *mautrix.Event) Message + ParseEvent(evt *event.Event) Message GetEvent(eventID string) Message AddMessage(message Message) AddServiceMessage(message string) |