1
0
Fork 0
mirror of https://github.com/mautrix/whatsapp.git synced 2026-05-15 10:16:52 -04:00
Commit graph

192 commits

Author SHA1 Message Date
Adam Van Ymeren
cd7f229ca6 resync: resync portals/ghosts immediately upon viewing
- refactor all the resync delays to a single per ghost/portal resync interval
- trigger resync immediately upon opening a room
- also resync portals if bridge capabilities has changed
2025-09-25 09:05:02 -07:00
Tulir Asokan
f632402989 handlewhatsapp: reroute LID calls to phone number DM portal 2025-09-19 15:48:58 +03:00
Tulir Asokan
a5181b03ff capabilities: enable implicit read receipts 2025-09-19 14:32:31 +03:00
Tulir Asokan
8692347211 msgconv/from-whatsapp: ignore disappearing timers in backfill 2025-09-17 15:04:12 +03:00
Tulir Asokan
5d352f464a config: add support for redacted phone in displayname template 2025-09-12 15:15:48 +03:00
Tulir Asokan
55d275b9e9 startchat: add support for creating groups 2025-09-01 18:15:21 +03:00
Peter Smit
bd0d24e1e4
handlematrix: add support for room name/topic/avatar changes (#834)
Fixes #833 

Co-authored-by: Tulir Asokan <tulir@maunium.net>
2025-08-28 03:08:25 +03:00
Tulir Asokan
37f0c4ad18 handlematrix: add support for changing disappearing timer 2025-08-25 19:03:58 +03:00
Kishan Bagaria
c7602c02c9
all: enable mautrix-go's new disappearing message features (#829) 2025-08-25 14:56:55 +03:00
Tulir Asokan
7ff2f9f206 msgconv/from-matrix: don't allow sending png to whatsapp 2025-08-25 14:49:52 +03:00
Tulir Asokan
4904f5fff3 startchat: allow bot and lid mxids in validateIdentifier 2025-08-16 14:02:19 +03:00
Tulir Asokan
c160ecbf16 handlewhatsapp: fix lid rerouting for undecryptable messages 2025-08-11 17:17:32 +03:00
Tulir Asokan
38ccb92901 msgconv/from-whatsapp: include raw data in unknown message info 2025-08-06 16:37:23 +03:00
Tulir Asokan
18684ac5b2 userinfo: update whatsmeow to fix new group member names in certain cases 2025-08-05 12:48:41 +03:00
Brad Murray
394622e205
login: add better error codes for invalid login inputs (#821) 2025-07-31 13:07:22 -04:00
Tulir Asokan
56c157ad5e client: fix push name syncing flag 2025-07-31 17:20:56 +03:00
Tulir Asokan
c21648f31e backfill: unwrap associated child messages 2025-07-31 12:39:20 +03:00
Tulir Asokan
2624702a39 client: fix potential deadlock in background connections 2025-07-30 13:27:16 +03:00
Tulir Asokan
8e60111d2e userinfo: reduce risk of races when syncing contacts 2025-07-29 19:34:31 +03:00
Tulir Asokan
1dfcdcb463
directmedia: add hacky support for media edits (#819) 2025-07-29 18:10:25 +03:00
Kishan Bagaria
de08fe9109
handlewhatsapp: convert HD image/video dual uploads into edits (#818)
looks like whatsapp is now uploading a SD version first and replacing
the message with a HD version subsequently (which currently shows up as
"Unknown message type, please view it on the WhatsApp app")

---------

Co-authored-by: Tulir Asokan <tulir@maunium.net>
2025-07-29 07:52:17 -07:00
Tulir Asokan
261304a4ad directmedia: add support for avatars 2025-07-29 17:43:51 +03:00
Kishan Bagaria
101906ca3c
client: refactor SendPresence calls (#817)
in https://github.com/mautrix/whatsapp/pull/816 we started setting
lastPresence

in this one, we make sure it's set in some other codepaths
2025-07-28 07:35:41 -07:00
Kishan Bagaria
a26b8e72bb
client: translate viewing chat status into presence on whatsapp (#816) 2025-07-27 07:28:55 -07:00
Tulir Asokan
2ae35f0377 handlewhatsapp: route bot messages to phone number DM as well 2025-07-22 23:37:27 +03:00
Tulir Asokan
e103a8bee4 backfill: fix ignoring PSA chat 2025-07-22 19:25:21 +03:00
Tulir Asokan
1b6ed76fe9 backfill: fix timer stopping 2025-07-22 19:12:07 +03:00
Tulir Asokan
b4f42f2e9c userinfo: ensure lid/pn ghost is always synced when the other one is 2025-07-22 17:58:35 +03:00
Tulir Asokan
8b36b353cf backfill: make wait time before starting portal creation configurable 2025-07-22 17:53:06 +03:00
Tulir Asokan
70195c8d22 backfill,wadb: store login ts when chat was synced instead of boolean flag 2025-07-22 16:33:26 +03:00
Tulir Asokan
0be2c5e3b6 backfill: mark task as not done when receiving new messages 2025-07-22 16:21:54 +03:00
Tulir Asokan
76079263d1 handlewhatsapp: add support for lid avatar changes 2025-07-22 15:58:13 +03:00
Tulir Asokan
e8697341dd msgconv/from-whatsapp: add better placeholder for album messages 2025-07-17 15:31:36 +03:00
Tulir Asokan
825dc7728f events: force first message after resync to use lid ghost 2025-07-17 15:13:21 +03:00
Tulir Asokan
0be53e58c6 waid/dbmeta: remove unnecessary LID field in user login metadata 2025-07-17 11:42:11 +03:00
Tulir Asokan
aa3bb1ea5e handlewhatsapp,backfill: propagate QueueRemoteEvent results in more places 2025-07-10 18:03:16 +03:00
Tulir Asokan
d881259773 handlewhatsapp: use simpler queue remote event call 2025-07-10 17:57:31 +03:00
Tulir Asokan
3fdd4e035f client: fix logger in whatsmeow background context 2025-07-10 00:24:15 +03:00
Tulir Asokan
6c023f0290 userinfo: fix log if next ghost resync isn't scheduled 2025-07-09 16:37:28 +03:00
Tulir Asokan
4e5c4ccf0c handlewhatsapp: fix call notices in groups 2025-07-09 15:56:14 +03:00
Tulir Asokan
3e96e7158f id: fill sender login ID properly in LID event senders 2025-07-03 21:44:15 +03:00
Tulir Asokan
d27e655109 msgconv/from-matrix: convert quicktime videos to mp4 when sending 2025-07-03 00:54:33 +03:00
Tulir Asokan
2f90bd4a0c directmedia: fix handling retries when there's no state 2025-07-02 21:01:23 +03:00
Tulir Asokan
58cc5110d2 client: don't fetch latest version number for background connections 2025-07-01 01:23:56 +03:00
Tulir Asokan
da130190f0 chatinfo: fix phone number removes in group lid migration 2025-06-30 19:52:49 +03:00
Tulir Asokan
628902dae8
handlewhatsapp: plumb event handling result to whatsmeow (#804) 2025-06-17 19:54:37 +03:00
Tulir Asokan
5f3abdba53 handlewhatsapp: fix read receipts in lid groups 2025-06-16 21:37:22 +03:00
Tulir Asokan
3697418d32 client: log connect errors 2025-06-14 16:03:23 +03:00
Tulir Asokan
27045b27c6 handlewhatsapp: redirect LID DMs sent from other devices to PN portal 2025-06-14 12:36:25 +03:00
Tulir Asokan
d58b0267f3 startchat: don't allow creating DMs with LIDs for now 2025-06-14 12:36:01 +03:00