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
5 changed files with 108 additions and 35 deletions
+1 -2
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) {