Skip to content

Commit

Permalink
Fixes rebase/lint
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-signal committed Nov 23, 2020
1 parent 6fe4365 commit c54df8b
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions ts/models/conversations.ts
Expand Up @@ -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 {
Expand Down

0 comments on commit c54df8b

Please sign in to comment.