Links (urls) posted in messages from pnut.io do not translate to bridged rooms #1

Closed
opened 2023-01-30 15:41:40 +00:00 by spacenerdmo · 1 comment
Owner

The message parsing for pnut.io is not properly picking up on the links in messages, leaving them out of the message payload being delivered to the other bridged rooms.

Example message: https://api.pnut.io/v1/channels/508/messages/278585

The message parsing for pnut.io is not properly picking up on the links in messages, leaving them out of the message payload being delivered to the other bridged rooms. Example message: https://api.pnut.io/v1/channels/508/messages/278585
spacenerdmo self-assigned this 2023-01-30 15:41:40 +00:00
spacenerdmo added the
bug
label 2023-01-30 18:29:25 +00:00
Author
Owner

Looking at the code, it's because only the text element is passed from the pnut message payload. Just need to iterate through the entities to pull out the referenced links and append them to the payload going to the bridge.

Looking at the code, it's because only the text element is passed from the pnut message payload. Just need to iterate through the entities to pull out the referenced links and append them to the payload going to the bridge.
spacenerdmo removed their assignment 2023-02-17 22:34:57 +00:00
spacenerdmo self-assigned this 2023-11-21 17:16:15 +00:00
Sign in to join this conversation.
No milestone
No project
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.

Dependencies

No dependencies set.

Reference: spacenerdmo/pnut-bridge#1
No description provided.