5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-22 14:00:27 +00:00
matterbridge/bridge
escoand 58b6c4d277
Handle broadcasts as groups in Whatsapp (#1213)
The current way to get the correct JID of a WhatsApp group is to dump all JIDs to the log and grab the right one. This is working for for groups fine but not for broadcast, as they are not print out.

According to https://www.npmjs.com/package/@noamalffasy/js-whatsapp we have these possibilities:
* Chats: `[country code][phone number]@s.whatsapp.net`
* Groups: `[country code][phone number of creator]-[timestamp of group creation]@g.us`
* Broadcast Channels: `[timestamp of group creation]@broadcast`

But the bridge does currently interprets (and prints) the only second option.
2020-08-26 22:27:50 +02:00
..
api Replace gorilla with melody for websocket API (#1205) 2020-08-26 22:27:00 +02:00
config Support Telegram animated stickers (tgs) format (#1173) 2020-08-23 22:34:28 +02:00
discord Fix webhook EventUserAction messages being skipped (discord) (#1133) 2020-05-11 00:20:35 +02:00
gitter Fix golint linter issues and enable it in CI (#593) 2018-11-15 20:43:43 +01:00
helper Support Telegram animated stickers (tgs) format (#1173) 2020-08-23 22:34:28 +02:00
irc Skip gIRC built-in rate limiting (irc) (#1164) 2020-06-24 23:57:37 +02:00
keybase Fix go-keybase-chat-bot api changes 2020-02-08 18:33:05 +01:00
matrix Sleep when ratelimited on joins (matrix). Fixes #1201 (#1206) 2020-08-24 00:12:30 +02:00
mattermost Use mattermost v5 module (#1192) 2020-08-10 00:29:54 +02:00
msteams Ignore non-user messages (msteams). Fixes #1141 (#1149) 2020-05-24 15:49:24 +02:00
nctalk Add Nextcloud Talk support (#1167) 2020-07-18 16:08:25 +02:00
rocketchat Relay Joins/Topic changes in RocketChat bridge (#1085) 2020-04-18 22:00:35 +02:00
slack Do not use webhooks when token is configured (slack) (fixes #1123) (#1134) 2020-05-14 00:27:34 +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 Support Telegram animated stickers (tgs) format (#1173) 2020-08-23 22:34:28 +02:00
whatsapp Handle broadcasts as groups in Whatsapp (#1213) 2020-08-26 22:27:50 +02:00
xmpp Prevent re-requesting avatar data (xmpp) (#1117) 2020-05-24 14:07:36 +02:00
zulip Fix error loop (zulip) (#1210) 2020-08-25 00:12:13 +02:00
bridge.go Add sane RemoteNickFormat default for API (#1157) 2020-06-25 00:25:10 +02:00