Links (urls) posted in messages from pnut.io do not translate to bridged rooms #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: spacenerdmo/pnut-bridge#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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.