Commit 3225dd3a authored by Adrian Georgescu's avatar Adrian Georgescu

Fixed parsing OTR key

parent 08c6bec7
......@@ -198,8 +198,8 @@ class ChatStreamInfo(MSRPStreamInfo):
self.encryption = 'OTR' if stream.encryption.active else None
self.encryption_cipher = stream.encryption.cipher if stream.encryption.active else None
if self.encryption == 'OTR':
self.otr_key_fingerprint = stream.encryption.key_fingerprint.hex().upper()
self.otr_peer_fingerprint = stream.encryption.peer_fingerprint.hex().upper()
self.otr_key_fingerprint = stream.encryption.key_fingerprint.upper()
self.otr_peer_fingerprint = stream.encryption.peer_fingerprint.upper()
self.otr_peer_name = stream.encryption.peer_name
self.otr_verified = stream.encryption.verified
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment