This commit is contained in:
2023-11-27 09:48:51 +07:00
parent 8439428ce1
commit 2bfa1db816
5 changed files with 92 additions and 107 deletions

View File

@@ -438,7 +438,7 @@ export class LumeStorage {
[relay, this.account.id]
);
if (!existRelays.length) return;
if (existRelays.length) return;
return await this.db.execute(
'INSERT OR IGNORE INTO relays (account_id, relay, purpose) VALUES ($1, $2, $3);',