parent
22a7e1b35f
commit
39e9ed8fe4
@ -460,7 +460,7 @@ const ChatBox = ModelWithContact.extend({
|
||||
error_type: undefined,
|
||||
is_archived: attrs.is_archived,
|
||||
is_ephemeral: false,
|
||||
is_error: undefined,
|
||||
is_error: false,
|
||||
});
|
||||
} else {
|
||||
return { is_archived: attrs.is_archived };
|
||||
|
@ -220,7 +220,7 @@ describe("The OMEMO module", function() {
|
||||
const msg = view.model.messages.at(0);
|
||||
expect(msg.get('is_ephemeral')).toBe(false)
|
||||
expect(msg.getDisplayName()).toBe('Mercutio');
|
||||
expect(msg.get('is_error')).toBe(undefined);
|
||||
expect(msg.get('is_error')).toBe(false);
|
||||
}));
|
||||
|
||||
it("will create a new device based on a received carbon message",
|
||||
|
Loading…
Reference in New Issue
Block a user