mautrix-whatsapp/database
Sumner Evans f2e762680c
media backfill: add ability to automatically request media not on WA server
This adds a new backfill type for media that sends a request to the
phone for every media that is not available on the WA servers. WA
deletes media from their servers after about two weeks, so you have to
ask the phone to re-upload it.

In order to use this, you need to enable
bridge.history_sync.backfill_media and configure the requests that will
be made per portal using bridge.history_sync.media (which is similar to
the deferred backfill config).

If you already have backfilled portals, but want to do a one-off media
backfill for all existing portals, you can set
bridge.history_sync.enqueue_backfill_media_next_start to true.
2022-04-19 08:12:51 -06:00
..
upgrades Minor cleanups from CR 2022-04-07 09:20:43 -06:00
backfillqueue.go media backfill: add ability to automatically request media not on WA server 2022-04-19 08:12:51 -06:00
cryptostore.go Fix name of trace levels 2021-12-06 14:13:18 +02:00
database.go database: add backfill queue and history sync tables 2022-03-29 12:16:30 -06:00
disappearingmessage.go Only create goroutines for next hour of disappearing messages 2022-01-07 14:46:53 +02:00
historysync.go Delete messages by timestamp range instead of message ID 2022-04-18 20:12:01 +03:00
message.go Minor cleanups from CR 2022-04-07 09:20:43 -06:00
migrate.go Update table/column names in DBMS migration (#391) 2021-11-12 17:34:25 +02:00
portal.go media backfill: add ability to automatically request media not on WA server 2022-04-19 08:12:51 -06:00
puppet.go Reimplement more things 2021-11-05 12:17:56 +02:00
reaction.go Handle incoming reaction removals 2022-03-12 19:47:47 +02:00
statestore.go Fix state store logging errors when power levels aren't cached 2022-01-17 10:45:36 +02:00
user.go Send blank protocol message if phone is offline for too long 2022-02-18 12:12:15 +02:00
userportal.go Add logs to debug read receipts 2022-01-17 10:38:44 +02:00