Fixes rebase/lint
This commit is contained in:
parent
6fe4365d3c
commit
c54df8be87
1 changed files with 3 additions and 8 deletions
|
@ -278,21 +278,16 @@ export class ConversationModel extends window.Backbone.Model<
|
|||
|
||||
const groupVersion = this.get('groupVersion') || 0;
|
||||
|
||||
<<<<<<< HEAD
|
||||
return (
|
||||
groupVersion === 2 &&
|
||||
base64ToArrayBuffer(groupId).byteLength === window.Signal.Groups.ID_LENGTH
|
||||
);
|
||||
=======
|
||||
try {
|
||||
return (
|
||||
groupVersion === 2 && base64ToArrayBuffer(groupId).byteLength === 32
|
||||
groupVersion === 2 &&
|
||||
base64ToArrayBuffer(groupId).byteLength ===
|
||||
window.Signal.Groups.ID_LENGTH
|
||||
);
|
||||
} catch (error) {
|
||||
window.log.error('isGroupV2: Failed to process groupId in base64!');
|
||||
return false;
|
||||
}
|
||||
>>>>>>> Support for GV1 -> GV2 migration
|
||||
}
|
||||
|
||||
isMemberPending(conversationId: string): boolean {
|
||||
|
|
Loading…
Add table
Reference in a new issue