chuckya/app/lib/activitypub
Plastikmensch 3a91f535fa
Refactor emoji reactions
Instead of processing tag and then look for the custom emoji, let the processing return an emoji.

Add `name` to `process_emoji_tags` to check if it matches the shortcode.

Removed `process_single_emoji` and added its code to `process_emoji_tags`

Removed arg from `maybe_process_misskey_reaction`.
Ideally, `original_status` should be a global object, but I wanted to modify vanilla code as little as possible.

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2023-05-27 12:01:13 +02:00
..
activity Refactor emoji reactions 2023-05-27 12:01:13 +02:00
parser Merge branch 'main' into glitch-soc/merge-upstream 2023-02-19 10:42:55 +01:00
activity.rb Refactor emoji reactions 2023-05-27 12:01:13 +02:00
adapter.rb Compact JSON-LD signed incoming activities (#17426) 2022-02-03 14:07:29 +01:00
case_transform.rb Fix Performance/DeletePrefix cop (#24796) 2023-05-02 21:07:45 +02:00
dereferencer.rb Remove instance variables from helper usage (#24203) 2023-04-23 22:35:54 +02:00
forwarder.rb Change sidekiq-bulk's batch size from 10,000 to 1,000 jobs in one Redis call (#24034) 2023-03-15 03:45:15 +01:00
linked_data_signature.rb Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
serializer.rb Fix ActivityPub context not being dynamically computed (#11746) 2019-09-03 22:52:32 +02:00
tag_manager.rb Allow reports with long comments from remote instances, but truncate (#25028) 2023-05-22 13:15:21 +02:00