From ab99a84579d7f09c3a91b43cc5a8dfc109423b47 Mon Sep 17 00:00:00 2001 From: olcxja Date: Sun, 2 Aug 2026 21:38:01 +0200 Subject: [PATCH] fix group invite index --- android/app/src/main/assets/public/main.js | 2 +- webroot/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/assets/public/main.js b/android/app/src/main/assets/public/main.js index 11bd2ef9..a2ab99e2 100644 --- a/android/app/src/main/assets/public/main.js +++ b/android/app/src/main/assets/public/main.js @@ -2061,7 +2061,7 @@ async function renderInvites(res, type) { html += entry; } else if (invite.type === "group") { - let groupId = invite.id; + let groupId = invite.groupId || invite.id; let targetId = (type === "received") ? invite.sender : invite.receiver; if (!targetId.includes(":")) { diff --git a/webroot/main.js b/webroot/main.js index 11bd2ef9..a2ab99e2 100644 --- a/webroot/main.js +++ b/webroot/main.js @@ -2061,7 +2061,7 @@ async function renderInvites(res, type) { html += entry; } else if (invite.type === "group") { - let groupId = invite.id; + let groupId = invite.groupId || invite.id; let targetId = (type === "received") ? invite.sender : invite.receiver; if (!targetId.includes(":")) {