Allow filtering on "reactions" for Pleroma based accounts #2

Closed
opened 2023-03-10 20:11:54 +00:00 by marvin8 · 1 comment
marvin8 commented 2023-03-10 20:11:54 +00:00 (Migrated from codeberg.org)

It looks like inside the pleroma dict in the status (see below) we could "count" the emoji_reactions, somehow. Will investigate further.

    "pleroma": {
        "content": {
            "text/plain": "Offer letter clarification #developersindia #mastindia #developers #mastodonindians https://redd.it/11nzj17"
        },
        "content_type": null,
        "context": "https://mastindia.co/contexts/44a845c1-28bb-4cf7-ab77-3c3c609c3c77",
        "conversation_id": 1794270910,
        "direct_conversation_id": null,
        "emoji_reactions": 
        	[{
            	'count': 2, 
            	'me': True, 
                'name': '❤️'
            }, 
            {
            	'count': 1, 
                'me': True, 
                'name': '😻'
            }],
        "event": null,
        "expires_at": null,
        "in_reply_to_account_acct": null,
        "local": true,
        "parent_visible": false,
        "pinned_at": null,
        "quote": null,
        "quote_url": null,
        "quote_visible": false,
        "quotes_count": 0,
        "spoiler_text": {
            "text/plain": ""
        },
        "thread_muted": false
    },
It looks like inside the pleroma dict in the status (see below) we could "count" the emoji_reactions, somehow. Will investigate further. ``` "pleroma": { "content": { "text/plain": "Offer letter clarification #developersindia #mastindia #developers #mastodonindians https://redd.it/11nzj17" }, "content_type": null, "context": "https://mastindia.co/contexts/44a845c1-28bb-4cf7-ab77-3c3c609c3c77", "conversation_id": 1794270910, "direct_conversation_id": null, "emoji_reactions": [{ 'count': 2, 'me': True, 'name': '❤️' }, { 'count': 1, 'me': True, 'name': '😻' }], "event": null, "expires_at": null, "in_reply_to_account_acct": null, "local": true, "parent_visible": false, "pinned_at": null, "quote": null, "quote_url": null, "quote_visible": false, "quotes_count": 0, "spoiler_text": { "text/plain": "" }, "thread_muted": false }, ```
marvin8 commented 2023-03-12 08:10:38 +00:00 (Migrated from codeberg.org)

Implemented in release 2.5.0

Implemented in release 2.5.0
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/fedinesia#2
No description provided.