mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Extra validations for storage service
This commit is contained in:
@@ -506,6 +506,10 @@ export async function mergeGroupV1Record(
|
||||
conversation.idForLogging()
|
||||
);
|
||||
} else {
|
||||
if (groupV1Record.id.byteLength !== 16) {
|
||||
throw new Error('Not a valid gv1');
|
||||
}
|
||||
|
||||
conversation = await window.ConversationController.getOrCreateAndWait(
|
||||
groupId,
|
||||
'group'
|
||||
|
||||
Reference in New Issue
Block a user