This commit is contained in:
Raven Scott
2026-07-18 16:22:56 -04:00
parent 015d92a257
commit f747ffbd25
36 changed files with 1975 additions and 873 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ export function encodeInvite(pkg) {
export function decodeInvite(invite) {
const s = String(invite || '').trim()
if (!s.startsWith(INVITE_PREFIX)) {
return { ok: false, error: 'Not a pa1 invite', code: 'INVITE_INVALID' }
return { ok: false, error: 'Not a pd1 invite', code: 'INVITE_INVALID' }
}
try {
const json = b64urlDecode(s.slice(INVITE_PREFIX.length)).toString('utf8')