Commit Graph

15 Commits

Author SHA1 Message Date
Wim
2f33fe86f5
Update dependencies and build to go1.22 ()
* Update dependencies and build to go1.22

* Fix api changes wrt to dependencies

* Update golangci config
2024-05-23 23:44:31 +02:00
Joseph Mansy
d42277979a
Support topic changes and Join/Leave messages (whatsapp) () 2023-03-14 23:12:45 +01:00
Wim
f345eeae55
Set correct loglevel (whatsapp). Fixes () 2023-03-11 18:18:24 +01:00
ilmaisin
544cd5cd9e
Fix Android media download problem (whatsapp) () 2023-03-10 22:30:48 +01:00
Joseph Mansy
2c349c50c7
Support handling delete message from whatsapp. () 2023-03-10 22:28:32 +01:00
Joseph Mansy
3a4bdd7c56
Fix rate-overlimit issue when there are more than 5 whatsapp channels in a single account (whatsapp) ()
Resolves 
2023-03-09 22:10:09 +01:00
Joseph Mansy
d00dcf3f58
Handle Whatsapp threading/replies (whatsapp) ()
* Handle Whatsapp threading/replies.
In this change we are updating whatsapp message IDs to include sender JID as this is necessary to reply to a message
https://github.com/tulir/whatsmeow/issues/88#issuecomment-1093195237
https://github.com/tulir/whatsmeow/discussions/148#discussioncomment-3094325

Based on commit 6afa93e537 from 
    Author: Iiro Laiho <iiro.laiho@iki.fi>

* Fix replies.
Sender JID can have a `:` inside of it, using `/` as a delimiter now.
Added messageID parser + struct.
messages sent with an attachment do not show replies
But at least common `sendMessage` will make repies from whatsapp to an attachement bridge across.

The new message ID format broke message deleting, so we change the messageID into the real id at the beginning of send.
We really do need the extra info for when we reply to a message though.

* Refactored message replies.
file/Image/audio/replies all work now.
2023-03-09 21:57:19 +01:00
Joseph Mansy
a9ccc18d73
Prefer mp4 extension for video attachments (whatsapp) ()
resolves 
2023-03-09 21:49:38 +01:00
Joseph Mansy
ac681687f8
Handle messages with link preview not being relayed (whatsapp) ()
Resolves 
2023-03-09 21:46:57 +01:00
Wim
880586bac4
Update dependencies () 2023-01-28 22:57:53 +01:00
ilmaisin
4cf313c4c6
Fix the "Someone" nickname problem (whatsapp) ()
* Apply patch to work around the "Someone" nickname problem

* Code cleanup (whatsapp)

* Cleanup

* Code cleanup (whatsapp)

* Re-examine if sender exists

* Cleanup (whatsapp)
2022-12-14 23:47:30 +01:00
ilmaisin
91353d0a4d
Handle incoming document captions from whatsapp () 2022-12-14 23:20:00 +01:00
ilmaisin
0a6d64ab48
Improve attachment handling (whatsapp) ()
* Allow captions for document attachments, too

* Handle audio messages

* Improve attachment handling
2022-11-27 00:55:37 +01:00
Wim
fda05f2262
Update dependencies and fix whatsmeow API changes ()
* Update dependencies

* Fix whatsmau API changes
2022-09-05 21:00:54 +02:00
Wim
496d5b4ec7 Add whatsappmulti buildflag for whatsapp with multidevice support (whatsapp) 2022-03-20 14:57:48 +01:00