aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2019-06-17 13:46:02 +0300
committerTulir Asokan <tulir@maunium.net>2019-06-17 13:46:02 +0300
commitb76c301145c543ebcdc5534d4f292b056aa51219 (patch)
tree569b66f60ee40f85c8ebc090c9162348a3b15567 /interface
parentfe439f076ad3d76c459c9a76c4bbdcda5182ed85 (diff)
Add initial support for rendering replies
Diffstat (limited to 'interface')
-rw-r--r--interface/ui.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/interface/ui.go b/interface/ui.go
index 32925a8..e8274e2 100644
--- a/interface/ui.go
+++ b/interface/ui.go
@@ -60,9 +60,10 @@ type RoomView interface {
SetTyping(users []string)
UpdateUserList()
- ParseEvent(evt *event.Event) Message
+ AddEvent(evt *event.Event) Message
+ AddRedaction(evt *event.Event)
+ AddEdit(evt *event.Event)
GetEvent(eventID string) Message
- AddMessage(message Message)
AddServiceMessage(message string)
}