update nostrsdk and change relay handle methods

This commit is contained in:
DASHU
2025-11-17 21:56:46 +08:00
parent aabcc603f4
commit e043c3c169
2 changed files with 4 additions and 6 deletions

View File

@@ -343,11 +343,9 @@ class RelayProvider extends ChangeNotifier {
}
for (var addr in needRemoveList) {
if (!nostr!.tempRelayHasSubscription(addr)) {
// don't contain subscription, remote!
_tempRelayStatusMap.remove(addr);
nostr!.removeTempRelay(addr);
}
// don't contain subscription, remote!
_tempRelayStatusMap.remove(addr);
nostr!.removeRelay(addr);
}
}
}