summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorsss <sss@dark-alexandr.net>2021-05-16 12:25:16 +0300
committersss <sss@dark-alexandr.net>2021-05-16 12:25:16 +0300
commitfdf74acfa8249ea72b54e13cd61eb47708ebef1d (patch)
tree35905d32c0015550d3a0b1659b45ae3a2a49ac18 /protocols/JabberG
parenta261ff62611c6cf4f414184480890e1e46b7dc3c (diff)
fixed omemo, closes #2750
Diffstat (limited to 'protocols/JabberG')
-rwxr-xr-xprotocols/JabberG/src/jabber_omemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_omemo.cpp b/protocols/JabberG/src/jabber_omemo.cpp
index f1d6f45907..47330e8169 100755
--- a/protocols/JabberG/src/jabber_omemo.cpp
+++ b/protocols/JabberG/src/jabber_omemo.cpp
@@ -1284,7 +1284,7 @@ complete:
signal_protocol_address *address = (signal_protocol_address*)mir_alloc(sizeof(signal_protocol_address));
// rotten compillers support
- address->name = jid; // will libsignal free arrav for us on exit ?
+ address->name = mir_strdup(jid); // will libsignal free arrav for us on exit ?
address->name_len = mir_strlen(jid);
address->device_id = dev_id_int;