IBM / ipfs-social-proof

IPFS Social Proof: A decentralized identity and social proof system
MIT License
142 stars 27 forks source link

Check local contacts DB after `peer joined` for display data #25

Open daviddahl opened 5 years ago

daviddahl commented 5 years ago

When peer joined is triggered, we immediately update the profile in the peers view with the generic IPFS peerId, sometimes the peer broadcast to the room takes a bit to update the peer with handle, etc.

We should check our local contactsDB for the peerId and use the cached data to update the peers UI.

Also, we should look for handle / bio / etc changes and upsert our contactsDB as we see these changes.