mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 07:45:21 +00:00
NoiseProtocol update: send nonce in packet (#306)
* send nonce in packet * sliding window and 8 byte nonce * do not process encrypted messages that arent addressed to us, same for nacks * compiler error: remove comma * nonce window 4 bytes * clean up logging
This commit is contained in:
@@ -397,7 +397,7 @@ class ChatViewModel: ObservableObject {
|
||||
isPrivate: false,
|
||||
recipientNickname: nil,
|
||||
senderPeerID: meshService.myPeerID,
|
||||
mentions: mentions.isEmpty ? nil : mentions,
|
||||
mentions: mentions.isEmpty ? nil : mentions
|
||||
)
|
||||
|
||||
// Add to main messages immediately for user feedback
|
||||
|
||||
Reference in New Issue
Block a user