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

th-new
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
1 changed files with 4 additions and 0 deletions

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,