Fix crash in private mention conversations in glitch-soc flavor (#2595)

This commit is contained in:
Claire
2024-01-30 22:42:22 +01:00
committed by GitHub
parent 80308d384a
commit 3ede233146

View File

@@ -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,