mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-26 00:45:20 +00:00
Fix peer discovery: include connected peripherals in peer list even before announce
This commit is contained in:
@@ -149,6 +149,7 @@ extension ChatViewModel: BitchatDelegate {
|
||||
}
|
||||
|
||||
func didUpdatePeerList(_ peers: [String]) {
|
||||
print("[DEBUG] ChatViewModel: Peer list updated with \(peers.count) peers: \(peers)")
|
||||
connectedPeers = peers
|
||||
isConnected = !peers.isEmpty
|
||||
|
||||
|
||||
Reference in New Issue
Block a user