From 512ca88804268bf58a754e8a02be556f953db317 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 16 May 2018 21:42:07 +0300 Subject: Fix notifications about own messages --- ui/messages/meta.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ui/messages/meta.go') diff --git a/ui/messages/meta.go b/ui/messages/meta.go index 3a1dd19..23a52e9 100644 --- a/ui/messages/meta.go +++ b/ui/messages/meta.go @@ -34,6 +34,10 @@ func (meta *BasicMeta) Sender() string { return meta.BSender } +func (meta *BasicMeta) SenderID() string { + return meta.BSender +} + // SenderColor returns the color the name of the sender should be shown in. func (meta *BasicMeta) SenderColor() tcell.Color { return meta.BSenderColor -- cgit v1.2.3