mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-07-31 14:11:45 +00:00
Fix expiry date for invites
This commit is contained in:
@@ -801,7 +801,7 @@ class GroupManagement extends LitElement {
|
||||
const currentTime = Date.now()
|
||||
|
||||
this.myOpenInvites.forEach(a => {
|
||||
let expiry = a.timestamp + a.timeToLive
|
||||
let expiry = a.timestamp + (a.timeToLive * 1000)
|
||||
|
||||
if (expiry > currentTime || a.timeToLive === 0) {
|
||||
let invitedGroupInfoUrl = `${nodeUrl}/groups/${a.groupId}`
|
||||
|
Reference in New Issue
Block a user