Watch
1
0
Fork
You've already forked mautrix-whatsapp
0
mirror of https://github.com/mautrix/whatsapp.git synced 2026-11-10 08:09:19 -05:00
Commit graph mautrix-whatsapp/pkg/connector/backfill.go
Author SHA1 Message Date
Gerardo Rodriguez
5ba69ab4ee
backfill: drop history sync notifications whose blob is gone (#1023) 2026-11-04 16:24:07 +00:00
indent[bot]
78c5ee3b20
backfill: expire unanswered on-demand history sync requests after an hour (#1021)
Co-authored-by: Indent <noreply@indent.com>
2026-11-02 19:41:06 -05:00
Gerardo Rodriguez
3a5d6448a8
backfill: treat own messages from previous LIDs as own (#1017) 2026-11-01 12:58:51 +00:00
Tulir Asokan
ae8dcdec4b backfill: delete all messages when FetchMessages returns no more history 2026-10-30 16:34:26 +02:00
Tulir Asokan
1f30d5516c backfill: drop messages in the whatsapp official updates chat 2026-10-30 16:34:26 +02:00
Gerardo Rodriguez
76c59bd05d
backfill: mark history sync messages read up to the unread count (#1001) 2026-10-27 06:42:50 -04:00
Gerardo Rodriguez
57e055c3ad
lidmigrate: move Meta AI phone number portals to the bot JID (#998) 2026-10-26 12:42:19 -04:00
Gerardo Rodriguez
1678681af7
chatinfo: don't create rooms for newsletters that no longer exist (#993) 2026-10-26 06:24:17 -04:00
Gerardo Rodriguez
46afb8f781
backfill: don't repeat on-demand history sync requests while one is in flight (#980) 2026-10-16 19:35:52 -04:00
Nick Mills-Barrett
abf1940af8
backfill: skip fake anchor messages in on-demand backwards backfill (#974)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 22:39:42 +01:00
Nick Mills-Barrett
d97b191245
backfill: prevent panic when converting history sync messages (#955) 2026-10-06 10:38:35 +01:00
Tulir Asokan
054064eddb backfill,msgconv: handle panics in on-demand history syncs 2026-09-27 18:04:19 +03:00
Toni Spets
9361103b64
backfill: don't panic when the whatsmeow client is nil (#954) 2026-09-16 12:00:30 +03:00
Tulir Asokan
03eb390082 backfill: return no more messages flag if there's no anchor message 2026-08-24 13:28:23 +03:00
Tulir Asokan
ba58807b0f
backfill: clamp message timestamps in history syncs (#946) 2026-08-20 16:09:02 +03:00
Tulir Asokan
b0be90d0d1 backfill: add hack for duplicate phone number messages 2026-08-10 14:22:47 +03:00
Tulir Asokan
3ec28346c8
all: switch DMs to use LIDs (#944) 2026-08-05 17:08:20 +03:00
Tulir Asokan
8d34f6f6bd msgconv/from-whatsapp: use correct message info for decrypting poll votes 2026-07-09 12:12:18 +03:00
Nick Mills-Barrett
879fc7cb41
backfill: skip groups that 404 on info (#929) 2026-06-17 14:15:56 +01:00
Tulir Asokan
ccd62ee30e backfill: add trace log with content if message fails to parse 2026-06-02 20:44:57 +03:00
Tulir Asokan
7254783a32 backfill: add debug logs for incorrect timestamps from phone 2026-04-24 12:46:48 +03:00
Tulir Asokan
6510ff1ffd backfill: do initial backfill even if only bootstrap is received 2026-04-13 12:34:32 +03:00
Tulir Asokan
e218f9c629 backfill: log number of rows when deleting messages 2026-04-10 20:12:51 +03:00
Tulir Asokan
520d7b9f26 backfill: use new slow fetch flags 2026-04-10 20:04:26 +03:00
Tulir Asokan
8b16f9d470 backfill: log when deleting messages 2026-04-10 17:38:46 +03:00
Tulir Asokan
e2869f2a1d backfill: add support for on-demand backwards backfill requests 2026-04-02 15:08:00 +03:00
Tulir Asokan
46d51593e5 backfill: remove non-manual history sync download code path 2026-03-25 20:15:12 +02:00
Tulir Asokan
450ac8960f backfill: mark backfill as complete if only message is the anchor 2026-03-25 19:12:09 +02:00
Tulir Asokan
0a0d72e743 backfill: include message count in all history sync storage logs 2026-01-07 14:53:26 +02:00
Tulir Asokan
10a8c64d63 backfill: fix panic when reaction is missing sender 2025-11-13 18:09:26 +02:00
Tulir Asokan
88a7a2b8d7 chatinfo: don't apply history sync metadata on later resyncs 2025-11-13 15:03:59 +02:00
Tulir Asokan
a291d40d66 backfill: reroute LID DMs in history syncs 2025-11-11 19:13:33 +02:00
Tulir Asokan
8692347211 msgconv/from-whatsapp: ignore disappearing timers in backfill 2025-09-17 15:04:12 +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
c21648f31e backfill: unwrap associated child messages 2025-07-31 12:39:20 +03:00
Tulir Asokan
8e60111d2e userinfo: reduce risk of races when syncing contacts 2025-07-29 19:34:31 +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
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
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
3e96e7158f id: fill sender login ID properly in LID event senders 2025-07-03 21:44:15 +03:00
Tulir Asokan
c47fced2fd
handlewhatsapp: add queue for incoming history sync notifications (#798) 2025-06-03 19:53:00 +03:00
Tulir Asokan
8ed1a47af4 backfill: short circuits sleeps if context is canceled 2025-05-30 12:09:30 +03:00
Tulir Asokan
73296a3c01 wadb/conversation: use highest message timestamp if conversation info doesn't have it 2025-04-24 13:15:11 +03:00
Tulir Asokan
927db4505b backfill: disable backfilling PSA chat 2025-04-24 12:36:34 +03:00
Tulir Asokan
037bdac783 connector: allow messages from @lid users 2025-04-08 21:17:06 +03:00
Tulir Asokan
e2bafd9c31 handlewhatsapp: allow chats with @bot users 2025-03-26 14:26:08 +02:00