PeerID 8/n: NoiseRateLimiter & FavoritesPersistenceService (#745)

This commit is contained in:
Islam
2025-10-03 11:32:13 +02:00
committed by GitHub
parent f2473f857b
commit 524a7e916b
5 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ final class MessageRouter {
return true
}
} else if peerID.count == 16 {
if let fav = FavoritesPersistenceService.shared.getFavoriteStatus(forPeerID: peerID),
if let fav = FavoritesPersistenceService.shared.getFavoriteStatus(forPeerID: PeerID(str: peerID)),
fav.peerNostrPublicKey != nil {
return true
}