[FIX] Crashing when last message is pin (#1155)
This commit is contained in:
parent
0aeedbb2f2
commit
5a51b4eab0
|
@ -13,7 +13,7 @@ const formatMsg = ({
|
|||
if (!showLastMessage) {
|
||||
return '';
|
||||
}
|
||||
if (!lastMessage) {
|
||||
if (!lastMessage || lastMessage.pinned) {
|
||||
return I18n.t('No_Message');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue