3add6b4207527788d2df60521f952f91d13b329b
Add PRESENCE_UPDATE gossip on pearcord:contacts:{userId} so accepted
friends see online/idle/dnd/offline without joining each other's guilds.
- ingestFriendPresence map with TTL-friendly updates
- broadcastPresence on setPresence and mesh rejoin (_lastSelfPresence)
- getFriendPresenceMap for platform listContacts enrichment
- simulateGossip handles PRESENCE_UPDATE for CI smokes
Co-authored-by: Cursor <[email protected]>
pearcord-contacts
P2P friend requests and contact list.
Part of Pearcord — 100% peer-to-peer community chat on Pear. No central servers.
Repository
- Org:
pearcord - Clone:
git clone https://git.ssh.surf/pearcord/pearcord-contacts.git
Install (npm)
npm install git+https://git.ssh.surf/pearcord/pearcord-contacts.git#main
Stack
Hyperswarm · HyperDB · Protomux · Pear / Bare
Documentation
See pearcord/pearcord-docs for architecture, roadmap, and IPC reference.
License
Pearcord modules are developed for the Pearcord platform. See the org README for contribution guidelines.
Languages
JavaScript
100%