problem: a client updates its key and sends an updatePresence() with the new keyId (only id not yet the key!) to the server. The server notifies all connected contacts about the update. But the actual update of the key is done within a seperate RPC (updateKey()) afterwards and may not yet be accomplished when the notified (other) clients ask for the new key. Thus, they receive the old key and miss the actual update.
solution: client should upload key before sending updatePresence()
problem: a client updates its key and sends an updatePresence() with the new keyId (only id not yet the key!) to the server. The server notifies all connected contacts about the update. But the actual update of the key is done within a seperate RPC (updateKey()) afterwards and may not yet be accomplished when the notified (other) clients ask for the new key. Thus, they receive the old key and miss the actual update.
solution: client should upload key before sending updatePresence()