Hi,

I haven't updated the pull request yet, but do you think it would OK to have an optional, caps-cachable disco extension along the lines of:

   <x xmlns='jabber:x:data' type='result'>
      <field var='FORM_TYPE' type='hidden'>
<value>urn:xmpp:reactions:0:restrictions</value>
      </field>
      <field var='max_reactions_per_user'>
        <value>1</value>
      </field>
      <field var='allowlist'>
<value>💘</value><value>❤️</value><value>💜</value>
      </field>
    </x>

Besides the allowed emoji list, this would make it explicit that only a single emoji is available for this entity.

The other part this PR tries to address is to specify how clients should behave when they receive an error in reply to a reactions payload. I think that without clarification, the clients should "revert to the previous reaction state", but I proposed to make "empty my reactions for this message". Any feedback about this?

-- Nicolas

_______________________________________________
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: [email protected]
_______________________________________________

Reply via email to