mattermost-mobile/app/database/operator/server_data_operator/handlers
Jason Frerich f815f6b3e5
[Gekidou MM-3972] Websocket Events - Reaction and emojis (#5920)
* Wip

* update name so it references changing the reaction on a post

* handleAddEmoji -> handleAddCustomEmoji

* add remove reaction logic

* sanitizeReactions
  * use skipSync to return early if not deleting any records that are
    not in the server db
  * return the filtered delete results and have the handler destroy the
    records

* fix lint

* use forEach instead of map.

* PR feedback

* PR feedback

* Update app/actions/websocket/reactions.ts

* remove console.log

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-02-03 11:14:08 +01:00
..
category.test.ts [Gekidou] Sidebar Categories (Database only) (#5909) 2022-01-31 10:30:10 -03:00
category.ts [Gekidou] Sidebar Categories (Database only) (#5909) 2022-01-31 10:30:10 -03:00
channel.test.ts MM-36721 - [GEKIDOU] Porting Markdown components (#5586) 2021-08-02 20:30:17 +04:00
channel.ts [Gekidou] Add is_unread to MyChannel model (#5878) 2021-12-22 14:37:14 +02:00
group.test.ts [Gekidou] groups (#5593) 2021-08-05 19:03:46 +04:00
group.ts [Gekidou] groups (#5593) 2021-08-05 19:03:46 +04:00
index.test.ts Add import order lint rules (#5672) 2021-09-13 10:18:03 +02:00
index.ts Upgrade deps (#5850) 2021-11-29 23:19:39 +02:00
post.test.ts Upgrade deps (#5796) 2021-10-29 14:38:20 -03:00
post.ts [Gekidou] Manage user websocket events (#5862) 2022-01-24 12:12:06 +01:00
posts_in_channel.ts [Gekidou] post list (#5893) 2022-01-17 07:06:26 -03:00
posts_in_thread.ts Upgrade deps (#5796) 2021-10-29 14:38:20 -03:00
team.test.ts Remove team unreads and rely on channel member instead (#5710) 2021-10-01 16:07:57 -03:00
team.ts MM-36721 - [GEKIDOU] Porting Markdown components (#5586) 2021-08-02 20:30:17 +04:00
user.test.ts [Gekidou] - Channel Intro (#5846) 2021-12-21 17:44:00 +02:00
user.ts [Gekidou MM-3972] Websocket Events - Reaction and emojis (#5920) 2022-02-03 11:14:08 +01:00