Unverified Commit 06be061e authored by Diego Mello's avatar Diego Mello Committed by GitHub
Browse files

[FIX] Add username block condition to prevent error (#1585)

parent c07a3db5
......@@ -14,7 +14,7 @@ const formatMsg = ({
if (!showLastMessage) {
return '';
}
if (!lastMessage || lastMessage.pinned) {
if (!lastMessage || !lastMessage.u || lastMessage.pinned) {
return I18n.t('No_Message');
}
if (lastMessage.t === 'jitsi_call_started') {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment