Fix crash in private mention conversations in glitch-soc flavor (#2595)
This commit is contained in:
parent
80308d384a
commit
3ede233146
1 changed files with 4 additions and 0 deletions
|
@ -167,6 +167,10 @@ export const Conversation = ({ conversation, scrollKey, onMoveUp, onMoveDown })
|
|||
}
|
||||
}, [dispatch, lastStatus, expanded]);
|
||||
|
||||
if (!lastStatus) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const menu = [
|
||||
{ text: intl.formatMessage(messages.open), action: handleClick },
|
||||
null,
|
||||
|
|
Loading…
Reference in a new issue