Raven ScottandCursor 3add6b4207 feat(contacts): broadcast and ingest friend presence on contacts mesh
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]>
2026-05-21 21:03:44 -04:00

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.

S
Description
Pearcord module: pearcord-contacts
Readme
196 KiB
Languages
JavaScript 100%