feat: Update logging for JS compatibility in MessageCrypto to reflect Desktop behavior for Latin1 and UTF-8 conversions
This commit is contained in:
@@ -228,6 +228,8 @@ class ChatViewModel(application: Application) : AndroidViewModel(application) {
|
||||
ProtocolManager.addLog(" - To: ${recipient.take(20)}...")
|
||||
ProtocolManager.addLog(" - Content: ${encryptedContent.take(40)}...")
|
||||
ProtocolManager.addLog(" - ChaCha Key: ${encryptedKey.take(40)}...")
|
||||
ProtocolManager.addLog("🔍 ChaCha Key char codes (first 20):")
|
||||
ProtocolManager.addLog(" ${encryptedKey.take(20).map { it.code }.joinToString(",")}")
|
||||
ProtocolManager.addLog(" - Timestamp: $timestamp")
|
||||
ProtocolManager.addLog(" - Message ID: $messageId")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user