fix group invite index
This commit is contained in:
parent
cb177691aa
commit
ab99a84579
2 changed files with 2 additions and 2 deletions
|
|
@ -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(":")) {
|
||||
|
|
|
|||
|
|
@ -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(":")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue