Display combined group event for PNI -> ACI

This commit is contained in:
Fedor Indutny 2023-01-10 17:20:13 -08:00 committed by GitHub
parent f8978328a8
commit 81e1357723
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 108 additions and 35 deletions

View file

@ -269,9 +269,8 @@ export function renderChangeDetail<T>(
const { uuid, inviter } = detail;
const weAreJoiner = isOurUuid(uuid);
const weAreInviter = isOurUuid(inviter);
const pniPromotedToACI = weAreJoiner && from === ourPNI;
if (!from || (from !== uuid && !pniPromotedToACI)) {
if (!from || from !== uuid) {
if (weAreJoiner) {
// They can't be the same, no fromYou check here
if (from) {