GroupsV2: Better group invite behavior

This commit is contained in:
Scott Nonnenberg
2020-10-06 10:06:34 -07:00
committed by Josh Perez
parent b9ff4f07d3
commit d51a0b5ece
24 changed files with 1408 additions and 313 deletions

View File

@@ -2546,6 +2546,9 @@ type WhatIsThis = typeof window.WhatIsThis;
if (message.groupV2) {
const { id } = message.groupV2;
const conversationId = window.ConversationController.ensureGroup(id, {
// Note: We don't set active_at, because we don't want the group to show until
// we have information about it beyond these initial details.
// see maybeUpdateGroup().
groupVersion: 2,
masterKey: message.groupV2.masterKey,
secretParams: message.groupV2.secretParams,