Commit Graph

5 Commits

Author SHA1 Message Date
prlanzarin
cfa013fdaa fix(reactions): crash when interactionsButton coords are absent
The client may crash whenever a emoji rain animation is triggered, but
the interactions button element cannot be located. This happens because
the button coordinates are fetched without checking whether the element
exists.

Get the coordinate fetching method to return null if the
interactionsButton element cannot be located, and ignore the emoji rain
action if that is the case. Whenever no valid coordinates are found, log
an warning so we can track this and figure out what's happening with the
button.

Fix a few typos in the getInteractionsButtonCoordinates method.
2024-05-02 22:32:09 +00:00
Tainan Felipe
cc79bb5fb2 Refactor: user reaction to graphql 2024-04-24 15:45:28 -03:00
André Castro
58a0efe708
Migrate auth and settings to graphQL (#19507) 2024-03-06 14:28:18 -03:00
André
1ebd27d5ea Lint 2023-11-14 11:03:05 -03:00
Lucas Fialho Zawacki
f575ecd4c8 feat(reactions): port new reactions and fix emojiRain 2023-11-13 15:36:49 -03:00