3
0
mirror of https://github.com/42wim/matterbridge.git synced 2024-12-29 14:42:39 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
Avinash Reddy
4fcad8e04b
Make DocumentMessage handler use FileName attribute (whatsapp) ()
* [whatsapp] make DocumentMessage handler use FileName attribute.

referenced: https://github.com/Rhymen/go-whatsapp/blob/master/message.go#L582

* fix lint
2021-05-26 00:06:45 +02:00
Avinash Reddy
ec6ae343dd
Fix crash on encountering VideoMessage (whatsapp) ()
* [whatsapp] fix crash on encountering VideoMessage

* Update handlers.go

* gofmt
2021-05-23 21:21:30 +02:00
Wim
b9fb361959
Rename .jpe files to .jpg Fixes (whatsapp) () 2021-05-23 00:17:55 +02:00
Avinash Reddy
a189298ab0
Handle document messages (whatsapp) ()
* [Whatsapp] Add DocumentMessage handler

* Fix typo

Thanks @42wim :)

Co-authored-by: Wim <wim@42.be>

Co-authored-by: Wim <wim@42.be>
2021-05-21 22:50:47 +02:00
Wim
7466e1d014
Set ogg as default audiomessage when none found (whatsapp). Fixes () 2021-03-20 23:12:59 +01:00
Wim
ad95e35687 Rename jfif to jpg (whatsapp). Fixes 2020-11-29 15:37:20 +01:00
Wim
640a9995f4 Refactor handleTextMessage (whatsapp) 2020-11-29 15:37:20 +01:00
Wim
95625f6871 Refactor image downloads (whatsapp) 2020-11-29 15:37:20 +01:00
Wim
2c20f72a9c Handle audio downloads (whatsapp) 2020-11-29 15:37:20 +01:00
Wim
5ad788e768 Handle video downloads (whatsapp) 2020-11-29 15:37:20 +01:00
Wim
3e865708d6 Refactor/cleanup code (whatsapp) 2020-11-29 15:37:20 +01:00
Dellle
a42e488e58
Add username for images from WhatsApp () 2020-09-26 21:32:57 +02:00
Wim
2f506425c2
Update whatsapp vendor and fix a panic ()
* Fix another whatsapp panic

* Update whatsapp vendor
2020-08-24 23:35:08 +02:00
Wim
ebd2073144
Handle panic in whatsapp. Fixes () 2020-07-30 23:55:31 +02:00
Wim
4d93a774ce
Ignore non-critical errors (whatsapp). Fixes () 2020-04-19 13:45:35 +02:00
Wim
8d08e348a9
Reset start timestamp on reconnect (whatsapp). Fixes () 2020-03-31 23:26:53 +02:00
Wim
1985873494 Implement basic reconnect (whatsapp). Fixes () 2020-02-09 22:11:46 +01:00
Guillaume Lazzara
c9d5f4c898 Add support for WhatsApp media (jpeg/png/gif) bridging ()
* Whatsapp image bridging

* Prevent double message in telegram when media with caption received

Co-authored-by: imShara <shara@protonmail.com>
2020-01-09 18:14:01 +01:00
Wim
8e97cbab1e Fix noisy whatsapp error logging 2019-06-14 00:02:32 +02:00
Wim
40f1d35415 Fix go mod issue by removing whatsapp-ext 2019-06-02 09:35:20 +01:00
Wim
3418e8c9af
Use upstream whatsapp again () 2019-05-30 12:20:56 +02:00
Wim
df3fdc26a0
Use whatsapp forks () 2019-03-02 13:04:28 +01:00
Krzysiek Madejski
55e79063d6 Add initial WhatsApp support () 2019-02-21 20:28:13 +01:00