forked from mirror/monocles_chat
encrypt to inactive and untrusted devices in jingle
This commit is contained in:
parent
c242755bdc
commit
bb81671a0e
1 changed files with 1 additions and 1 deletions
|
@ -1217,7 +1217,7 @@ public class AxolotlService implements OnAdvancedStreamFeaturesLoaded {
|
|||
final XmppAxolotlMessage axolotlMessage = new XmppAxolotlMessage(account.getJid().asBareJid(), getOwnDeviceId());
|
||||
final String content = child.getContent();
|
||||
axolotlMessage.encrypt(content);
|
||||
axolotlMessage.addDevice(session);
|
||||
axolotlMessage.addDevice(session, true);
|
||||
fingerprint.addChild(axolotlMessage.toElement());
|
||||
transportInfo.addChild(fingerprint);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue