Closed Neustradamus closed 4 years ago
Unlike OTR, OMEMO protocol does not have mechanisms for indication of current state of chat. In simple words: you know that OMEMO encryption is enabled only after receiving of first encrypted message.
@Ri0n, @tehnick, @stigger: I think it is possible to add the key icon at connection, when the client detect the node of contacts:
Linked to:
<iq id='IQID' from='me@domain.tld' to='contact@domain2.tld' type='get'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<items node='eu.siacs.conversations.axolotl.devicelist'/>
</pubsub>
</iq>
<iq from="contact@domain2.tld" type="result" to="me@domain.tld/Psi+" id="IQID">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<items node="eu.siacs.conversations.axolotl.devicelist">
<item id="ITEMID">
<list xmlns="eu.siacs.conversations.axolotl">
<device id="DEVICEID1"/>
<device id="DEVICEIDX"/>
</list>
</item>
</items>
</pubsub>
</iq>
Keys icon in Roster near Username is not showed all time.
At each Psi launch, we need to send a message to see it.