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
database.go database: add backfill queue and history sync tables 2022-03-29 12:16:30 -06:00
disappearingmessage.go
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
portal.go media backfill: add ability to automatically request media not on WA server 2022-04-19 08:12:51 -06:00
puppet.go
reaction.go Handle incoming reaction removals 2022-03-12 19:47:47 +02:00
statestore.go
user.go
userportal.go