Skip to content

feat: add Reaction and ChatReaction comms messages#375

Closed
biotech77 wants to merge 1 commit intomainfrom
feat/chat-reactions
Closed

feat: add Reaction and ChatReaction comms messages#375
biotech77 wants to merge 1 commit intomainfrom
feat/chat-reactions

Conversation

@biotech77
Copy link

Summary

Adds two new message types to the comms protocol (RFC-4) for emoji reactions:

  • Reaction — Situational emoji reactions broadcast to nearby users (world-space floating emojis)
  • ChatReaction — Reactions tied to a specific chat message, routed through the same pipe as the original message

Protocol Changes

Packet oneof

  • Reaction reaction = 13
  • ChatReaction chat_reaction = 14

Message definitions

Reaction (situational — nearby broadcast via island/scene pipes)

  • emoji_index (int32) — index into the emoji atlas

ChatReaction (message-specific routed like chat messages)

  • emoji_index (int32) index into the emoji atlas
  • message_id (string) composite key (timestamp+wallet) identifying the target chat message
  • address (string) sender wallet address,

Context

This is part of the chat reactions feature being implemented in the Explorer. Reactions allow users to send emoji
responses that appear as floating particles in world-space (situational) or attached to specific chat messages (chat
reactions).

@github-actions
Copy link

Test this pull request

  • The @dcl/protocol package can be tested in scenes by running
    npm install "https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-22974757350.commit-7f30c7c.tgz"

@biotech77 biotech77 closed this Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant