Fix more import/export tests for backups
This commit is contained in:
parent
8dabe4fbe4
commit
84c562d0b2
13 changed files with 225 additions and 60 deletions
|
@ -158,6 +158,7 @@ import {
|
|||
} from '../messages/copyQuote';
|
||||
import { getRoomIdFromCallLink } from '../util/callLinksRingrtc';
|
||||
import { explodePromise } from '../util/explodePromise';
|
||||
import { GiftBadgeStates } from '../components/conversation/Message';
|
||||
|
||||
/* eslint-disable more/no-then */
|
||||
|
||||
|
@ -2076,7 +2077,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
await DataWriter.updateConversation(conversation.attributes);
|
||||
|
||||
const giftBadge = message.get('giftBadge');
|
||||
if (giftBadge) {
|
||||
if (giftBadge && giftBadge.state !== GiftBadgeStates.Failed) {
|
||||
const { level } = giftBadge;
|
||||
const { updatesUrl } = window.SignalContext.config;
|
||||
strictAssert(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue