Fix repeated favorite notifications; route system messages to mesh; simplify favorites (#588)

* Favorites: mesh-only system message; stop reconnect resends; gate system on state change

* Favorites: remove npub resend tracking and nickname-based key migration; rely on Noise key as identity

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
This commit is contained in:
jack
2025-09-12 14:36:32 +02:00
committed by GitHub
co-authored by jack
parent b01cac4649
commit bb3d99bdca
4 changed files with 40 additions and 39 deletions
+1
View File
@@ -74,6 +74,7 @@ final class MessageRouter {
}
func sendFavoriteNotification(to peerID: String, isFavorite: Bool) {
// Route via mesh when connected; else use Nostr
if mesh.isPeerConnected(peerID) {
mesh.sendFavoriteNotification(to: peerID, isFavorite: isFavorite)
} else {