[#12717] No preview for transaction messages in 1-1 chat
This commit is contained in:
parent
bade0a24ff
commit
c7e758eeab
|
@ -68,6 +68,11 @@ func (m *Messenger) ChatsPreview() []*ChatPreview {
|
|||
chatPreview.ParsedText = chat.LastMessage.ParsedText
|
||||
}
|
||||
}
|
||||
} else if chat.LastMessage.ContentType == protobuf.ChatMessage_EMOJI ||
|
||||
chat.LastMessage.ContentType == protobuf.ChatMessage_TRANSACTION_COMMAND {
|
||||
|
||||
chatPreview.Text = chat.LastMessage.Text
|
||||
chatPreview.ParsedText = chat.LastMessage.ParsedText
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue