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(":")) {