feat(shared): add CHANNEL_READ RPC for DM read receipts
New gossip opcode 41 — peers broadcast lastReadAt when opening a DM channel so senders can show a Seen indicator (P2P, no central API). Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -130,7 +130,8 @@ const RPC = {
|
|||||||
SETTINGS_UPDATE: 37,
|
SETTINGS_UPDATE: 37,
|
||||||
EMOJI_UPSERT: 38,
|
EMOJI_UPSERT: 38,
|
||||||
USER_PREFS_UPDATE: 39,
|
USER_PREFS_UPDATE: 39,
|
||||||
GROUP_DM_UPSERT: 40
|
GROUP_DM_UPSERT: 40,
|
||||||
|
CHANNEL_READ: 41
|
||||||
}
|
}
|
||||||
|
|
||||||
const DEVICE_PAIR_PREFIX = 'pcdv_'
|
const DEVICE_PAIR_PREFIX = 'pcdv_'
|
||||||
|
|||||||
Reference in New Issue
Block a user