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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,