5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-22 03:30:26 +00:00
matterbridge/bridge
ValdikSS ce18c948e6
Do not apply any markup to URL entities (telegram) (#1808)
handleEntities code uses simple modification offset which does not
allow to detect whether the offset is placed before or after
the element in already modified string.
This works fine is most cases as Telegram server always sort the
elements by offset, in ascending order.
However, this is not the case when the modification, for example bold
text, is applied to the URL. In this case, the offset of URL and
bold entity is equal, which raises the issue.

This commit introduces additional hack for this case, stripping
any entities which intersect with URL.
2022-04-22 01:00:57 +02:00
..
api Sent loopback messages to other websockets as well (api) (#1216) 2020-08-27 22:28:03 +02:00
config Add UseUsername option (mattermost). Fixes #1665 (#1714) 2022-02-06 17:33:41 +01:00
discord Change discord non-native threading behaviour (discord) (#1791) 2022-04-04 00:19:31 +02:00
gitter Fix golint linter issues and enable it in CI (#593) 2018-11-15 20:43:43 +01:00
harmony Add support for Harmony (#1656) 2021-12-18 22:43:29 +01:00
helper Add support for deleting files from slack to discord. Fixes #1705 (#1709) 2022-02-05 14:45:54 +01:00
irc Clear existing IRC event handlers before connecting new ones (#1795) 2022-04-07 23:00:17 +02:00
keybase Fix go-keybase-chat-bot api changes 2020-02-08 18:33:05 +01:00
matrix Remove go replace by fork (matrix) (#1771) 2022-03-20 01:43:26 +01:00
mattermost Add support for using ID in channel config (mattermost) (#1715) 2022-02-06 18:26:30 +01:00
msteams Fix panic in msteams. Fixes #1588 (#1622) 2021-10-24 22:17:46 +02:00
mumble Implement a workaround to signal Opus support (mumble) (#1764) 2022-03-19 21:32:00 +01:00
nctalk Add support for separate display name (nctalk) (#1506) 2021-06-19 21:45:19 +02:00
rocketchat Handle Rocket.Chat attachments (#1395) 2021-02-15 22:34:14 +01:00
slack Preserve threading for messages with files (slack) (#1781) 2022-03-30 22:22:37 +02:00
sshchat Fix duplicated messages (sshchat). Fixes #950 (#996) 2020-02-02 22:08:37 +01:00
steam Update dependencies (#886) 2019-09-07 22:46:58 +02:00
telegram Do not apply any markup to URL entities (telegram) (#1808) 2022-04-22 01:00:57 +02:00
vk Remove GroupID (vk) (#1668) 2022-01-09 22:50:07 +01:00
whatsapp Add whatsapp deprecation warning (#1792) 2022-04-04 00:31:18 +02:00
whatsappmulti Add whatsappmulti buildflag for whatsapp with multidevice support (whatsapp) 2022-03-20 14:57:48 +01:00
xmpp Do not fail on no avatar data (xmpp) #1529 (#1627) 2021-10-30 17:50:37 +02:00
zulip Add better error handling on Zulip (#1589) 2021-10-23 23:46:27 +02:00
bridge.go Add sane RemoteNickFormat default for API (#1157) 2020-06-25 00:25:10 +02:00