aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2019-04-10 21:06:19 +0300
committerTulir Asokan <tulir@maunium.net>2019-04-10 21:06:19 +0300
commitdb0e24ccc268d0a9c7575d660a9397e53747894b (patch)
treec6b3f858cfee7d73ba472842b0f1d4423f118b9a /interface
parent9132e2b7507c92fc1e49729298344f5d2ed3e9b3 (diff)
Use already parsed events for replies if possible
Diffstat (limited to 'interface')
-rw-r--r--interface/ui.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/ui.go b/interface/ui.go
index 12aabbe..781f803 100644
--- a/interface/ui.go
+++ b/interface/ui.go
@@ -61,6 +61,7 @@ type RoomView interface {
UpdateUserList()
ParseEvent(evt *mautrix.Event) Message
+ GetEvent(eventID string) Message
AddMessage(message Message)
AddServiceMessage(message string)
}