If a presence subscription was denied or is pending, the key can't be retrieved. Those states should be displayed somehow
Example response:
Jul 14, 2015 6:06:24 PM org.kontalk.client.Client sendPacket
INFO: sent packet: <iq to='[email protected]' id='gy5V4-45' type='get'><pubkey xmlns='urn:xmpp:pubkey:2'/></iq>
Jul 14, 2015 6:06:24 PM org.kontalk.client.Client processPacket
INFO: got packet (unhandled): <iq to='[email protected]/Kontalk_Desktop' from='[email protected]
t' id='gy5V4-45' type='error'><error type='auth'><not-authorized xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas' xml:lang='en'>N
ot authorized.</text></error></iq>
If a presence subscription was denied or is pending, the key can't be retrieved. Those states should be displayed somehow
Example response: