Commit Graph

19 Commits (c3bcbd63c012f57fa81832cf4b2812dcd15c8a8f)

Author SHA1 Message Date
Wim 64b899ac89
Retry until we have contacts (whatsapp). Fixes #1122 (#1304) 4 years ago
Wim 25c82ddf02
Use vendored whatsapp version (#1258) 4 years ago
Dellle a42e488e58
Add username for images from WhatsApp (#1232) 4 years ago
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.
4 years ago
Wim 2f506425c2
Update whatsapp vendor and fix a panic (#1209)
* Fix another whatsapp panic

* Update whatsapp vendor
4 years ago
Wim ebd2073144
Handle panic in whatsapp. Fixes #1180 (#1184) 4 years ago
Nathanaël 1fee323247
Reload user information when a new contact is detected (whatsapp) (#1160)
Before returning an empty string, we refresh the WhatsApp contacts and if we found the one we wanted, we can return a real name. Fixes #796
4 years ago
Wim 4d93a774ce
Ignore non-critical errors (whatsapp). Fixes #1094 (#1100) 4 years ago
Wim 8950575bfb
Update Rhymen/go-whatsapp vendor and whatsapp version (#1078) 5 years ago
Wim 8d08e348a9
Reset start timestamp on reconnect (whatsapp). Fixes #1059 (#1064) 5 years ago
Wim 1aa662f763
Update client version whatsapp. Fixes #1061 (#1062)
See https://github.com/Rhymen/go-whatsapp/issues/305
5 years ago
Wim 1985873494 Implement basic reconnect (whatsapp). Fixes #987 (#1003) 5 years ago
Guillaume Lazzara c9d5f4c898 Add support for WhatsApp media (jpeg/png/gif) bridging (#974)
* Whatsapp image bridging

* Prevent double message in telegram when media with caption received

Co-authored-by: imShara <shara@protonmail.com>
5 years ago
Wim 8e97cbab1e Fix noisy whatsapp error logging 5 years ago
Wim ce7b749fd5 Update github.com/Rhymen/go-whatsapp vendor. Fixes #843 5 years ago
Wim 40f1d35415 Fix go mod issue by removing whatsapp-ext 5 years ago
Wim 3418e8c9af
Use upstream whatsapp again (#809) 5 years ago
Wim df3fdc26a0
Use whatsapp forks (#750) 6 years ago
Krzysiek Madejski 55e79063d6 Add initial WhatsApp support (#711) 6 years ago