Restore useful bubble for incoming messages with errors

This commit is contained in:
Scott Nonnenberg 2022-05-31 09:26:07 -07:00 committed by GitHub
parent 6668348197
commit 6f2b01d98b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 4 deletions

View file

@ -1371,8 +1371,8 @@ export function getMessagePropStatus(
>,
ourConversationId: string | undefined
): LastMessageStatus | undefined {
if (!isOutgoing(message)) {
return undefined;
if (isIncoming(message)) {
return hasErrors(message) ? 'error' : undefined;
}
if (getLastChallengeError(message)) {