From 3750d5007fe31b1a4d706357f43774d08944213e Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 18 Apr 2018 13:38:33 +0300 Subject: Create pills when tab-completing or clicking nicks --- ui/messages/textbase.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/messages/textbase.go') diff --git a/ui/messages/textbase.go b/ui/messages/textbase.go index d7eb16c..0960a57 100644 --- a/ui/messages/textbase.go +++ b/ui/messages/textbase.go @@ -32,8 +32,8 @@ type BaseTextMessage struct { BaseMessage } -func newBaseTextMessage(id, sender, msgtype string, timestamp time.Time) BaseTextMessage { - return BaseTextMessage{newBaseMessage(id, sender, msgtype, timestamp)} +func newBaseTextMessage(id, sender, displayname, msgtype string, timestamp time.Time) BaseTextMessage { + return BaseTextMessage{newBaseMessage(id, sender, displayname, msgtype, timestamp)} } // Regular expressions used to split lines when calculating the buffer. -- cgit v1.2.3