mirror of https://github.com/zulip/zulip.git
9244a6740e
Complete, correct implementations of Zulip's emoji reactions API need to send both emoji_code and emoji_name in order to add a reaction; this is important for corner cases around clicking on a reaction in a message that was first reacted to a year ago, when the emoji name->code mappings have changed for the given code point in the intervening time. However, for folks building tools using the Zulip API, that corner case is not particularly common; as a result, it makes sense to offer an interface that allows adding a reaction by only specifying the emoji name. This is why the only field that needs to be required is emoji_name, which can now be mapped to a single emoji. Both fields will be necessary when "voting" an old reaction, but since we stil allow specifying the two of them, these changes offer retrocompatibility. |
||
---|---|---|
.. | ||
lib | ||
management | ||
migrations | ||
openapi | ||
templatetags | ||
tests | ||
tornado | ||
views | ||
webhooks | ||
worker | ||
__init__.py | ||
apps.py | ||
context_processors.py | ||
decorator.py | ||
filters.py | ||
forms.py | ||
logging_handlers.py | ||
middleware.py | ||
models.py | ||
signals.py | ||
static_header.txt |