Fix notifications about own messages
This commit is contained in:
@ -30,7 +30,6 @@ type UIMessage interface {
|
||||
Buffer() []tstring.TString
|
||||
Height() int
|
||||
|
||||
SenderID() string
|
||||
RealSender() string
|
||||
RegisterMatrix(matrix ifc.MatrixContainer)
|
||||
}
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user