finos / messageml-utils

MessageML is a markup language used by the Symphony Agent API for representing messages, including formatting (bold, italic, numbered and unnumbered lists etc.) and entity data representing structured objects.
https://docs.developers.symphony.com
Apache License 2.0
12 stars 28 forks source link

Remove URL information from entities object of messages #165

Closed lmmacedo closed 4 years ago

lmmacedo commented 4 years ago

When a message is submitted with a url in it, some of its information is being added in the entities field of the message like that:

   "entities": {
        "urls": [
            {
                "indexStart": 5,
                "indexEnd": 26,
                "id": "https://symphony.com/",
                "text": "https://symphony.com/",
                "expandedUrl": "https://symphony.com/",
                "type": "URL"
            }
        ]
    }

Those information need to be completely removed from the entities.

cristiadu commented 4 years ago

Fixed by #166