aboutsummaryrefslogtreecommitdiff
path: root/ui/messages/meta.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-05-16 21:42:07 +0300
committerTulir Asokan <tulir@maunium.net>2018-05-16 21:42:07 +0300
commit512ca88804268bf58a754e8a02be556f953db317 (patch)
treee5b6980661bde6ec1cbcfed1f16f040bea2be2f0 /ui/messages/meta.go
parenta8a4c72d14027afa669fd7c85ea3a48bde8a3924 (diff)
Fix notifications about own messages
Diffstat (limited to 'ui/messages/meta.go')
-rw-r--r--ui/messages/meta.go4
1 files changed, 4 insertions, 0 deletions
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