Sumner Evans
d686912c74
provisioning: only update timezone after login success
2022-05-12 08:56:00 -06:00
Tulir Asokan
9ac8ae984d
Always set power level required for reactions and redactions to 0
2022-05-12 10:45:23 +03:00
Sumner Evans
08e77fab29
media backfill: send retry requests at the configured time
...
Only does the batch send of requests if the request method is 'local_time'
2022-05-11 17:10:55 -06:00
Sumner Evans
7de7fedc02
media backfill: enable enqueue to media backfill buffer instead of immediately requesting retry receipt
2022-05-11 17:10:55 -06:00
Sumner Evans
b5551ee16a
database: add media requests buffer table
2022-05-11 17:10:55 -06:00
Sumner Evans
e362743f18
config: add settings for automatic media requests
2022-05-11 17:10:55 -06:00
Tulir Asokan
feaaf51970
Update changelog and whatsmeow again
2022-05-11 14:33:19 +03:00
Tulir Asokan
8ff1896b18
Update whatsmeow and add bridge state events for keepalive timeouts
2022-05-11 14:04:59 +03:00
Tulir Asokan
dd2919fbdb
Fix deduplicating bridge states
2022-05-10 22:16:05 +03:00
Tulir Asokan
8e2579936f
Fix sending media
2022-05-10 14:47:45 +03:00
Tulir Asokan
57339187e5
Add message send retry on xml-not-well-formed errors
2022-05-10 13:55:33 +03:00
Tulir Asokan
9dcd8f4f96
Maybe improve retry receipt handling
2022-05-10 12:15:00 +03:00
Tulir Asokan
85d29011d1
Update whatsmeow
2022-05-10 11:39:10 +03:00
Tulir Asokan
7a3241161b
Log warning if server doesn't advertise Matrix 1.1+ support
2022-05-10 11:33:14 +03:00
Tulir Asokan
3f6fc27095
Remove GroupingKey from reactions as WhatsApp doesn't seem to use it
2022-05-07 11:25:16 +03:00
Tulir Asokan
380ca00c34
Update whatsmeow
2022-05-05 12:22:42 +03:00
Tulir Asokan
6f5fee5d37
Include main device platform in ping and login APIs
2022-05-04 19:47:36 +03:00
Tulir Asokan
625e110aab
Improve logging when phone is seen again
2022-05-04 11:17:34 +03:00
Tulir Asokan
7c579ad972
Update whatsmeow for new xml-not-well-formed debugging
2022-05-03 15:35:02 +03:00
Tulir Asokan
289d410a4b
Use consistent error message for media not found errors
...
Sometimes it's encrypted, sometimes it's not
2022-05-02 16:50:15 +03:00
Tulir Asokan
fdb0718670
Remove unused media backfill config
2022-05-02 16:36:07 +03:00
Tulir Asokan
317b4dbffb
Fix panic in requesting retries
2022-05-02 15:47:35 +03:00
Tulir Asokan
a3810c1414
Update whatsmeow
2022-05-02 15:43:51 +03:00
Tulir Asokan
357cb5af90
Redact recycle emoji after requesting retry
2022-05-02 15:42:35 +03:00
Tulir Asokan
0665c74cce
Merge incoming receipt and message channels
...
Otherwise receipts after downtime might be handled before the messages
those receipts point at.
2022-05-02 15:35:50 +03:00
Tulir Asokan
bf2eb84abb
Update error message if media retry fails
2022-05-02 15:29:02 +03:00
Tulir Asokan
4bc4e92877
Remove media backfill queue and just request immediately
2022-05-02 15:00:57 +03:00
Sumner Evans
2abbf160a7
Merge pull request #486 from mautrix/sumner/bri-3092
...
backfill: add notification of disappearing messages at correct timestamp
2022-04-30 01:08:36 -06:00
Sumner Evans
3096786454
backfill queue: interrupt sending to deferred channel on queue re-check
...
If a queue re-check is requested, interrupt sending the backfill request
to the deferred channel so that immediate backfills can happen ASAP.
2022-04-30 01:03:55 -06:00
Sumner Evans
89131bd20c
backfill: add notification of disappearing messages at correct timestamp
...
This makes it so that the timestamp of the chat in Matrix looks correct,
even though the message is not there to be bridged since it has
disappeared.
2022-04-29 16:59:37 -06:00
Tulir Asokan
8b39175b76
Drop support for appservice login with unstable prefix
2022-04-29 22:04:28 +03:00
Tulir Asokan
4c0d43fee7
Update whatsmeow
2022-04-29 19:40:15 +03:00
Tulir Asokan
4b22e786f5
Make signal store retry if postgres dies
2022-04-29 19:38:44 +03:00
Tulir Asokan
b8e7c17d5c
Merge branch 'split-forward-backfill'
2022-04-29 17:30:09 +03:00
Tulir Asokan
573eec44c8
Fix indentation in SQL query
2022-04-29 17:03:27 +03:00
Tulir Asokan
7a4de157ce
Update mautrix-go and changelog
2022-04-29 16:10:03 +03:00
Tulir Asokan
331138bc6b
Split forward backfilling and do it in one batch
...
Multiple batches is complicated, as it would require figuring out where
the batch ended when handling the next batch of new-old messages.
2022-04-29 11:07:05 +03:00
Tulir Asokan
6b69ea707b
Use single SQL query for fetching backfill queue items
2022-04-29 10:44:22 +03:00
Sumner Evans
86840dec59
Merge pull request #484 from mautrix/sumner/bri-3057
...
backfill: fixed bug where the media backfill loop would sleep too often
2022-04-28 15:52:38 -06:00
Sumner Evans
76c6d0bf87
backfill: fixed bug where the media backfill loop would sleep too often
...
If the number of requested message was a multiple of the number of batch
events, then it would sleep on every single other message (even if not
an errored media message).
2022-04-28 15:48:40 -06:00
Sumner Evans
d898aefff1
backfill loops: combine immediate and deferred loops
2022-04-28 15:48:38 -06:00
Sumner Evans
ac7a437ad8
backfill: add more logging to the queue
2022-04-28 15:48:04 -06:00
Tulir Asokan
66f505303d
Update 403 error message
...
Apparently it happens when switching phones, not only when banned
2022-04-28 20:09:44 +03:00
Tulir Asokan
387148849a
Update mautrix-go again
2022-04-27 23:48:55 +03:00
Sumner Evans
2259b5007f
Merge pull request #483 from mautrix/sumner/bri-3038
...
backfill: skip chats if the user is not a participant
2022-04-27 08:32:35 -06:00
Sumner Evans
caf0a363c9
backfill: delete messages for rooms the user is not in
...
If the chat turns out to be not bridgable due to the user not being in
the room, delete the messages, and stop trying to backfill it.
2022-04-27 08:29:20 -06:00
Tulir Asokan
0b036204ca
Update dependencies and reduce memory usage when encryping files
2022-04-27 14:31:57 +03:00
Tulir Asokan
54ad27f644
Add separate config option for status broadcast room tag
2022-04-27 12:46:11 +03:00
Sumner Evans
2afdf80937
backfill: don't create room if the user is not a participant
...
This can happen if the user gets kicked from a chat.
2022-04-26 12:10:30 -06:00
Sumner Evans
5aee338561
Merge pull request #481 from mautrix/fix-backfill-priority-again
...
backfill: fix priority of backfills again
2022-04-25 08:42:43 -06:00