fix: use the same webxdc ratelimit for all email servers

This removes another distinction between chatmail and non-chatmail
and fixes flaky tests/test_webxdc.py::test_webxdc

Closes <https://github.com/chatmail/core/issues/7522>
This commit is contained in:
link2xt
2025-11-25 22:29:39 +00:00
committed by l
parent b1fa1055d7
commit 6b6ec2a4b7
2 changed files with 2 additions and 8 deletions

View File

@@ -1289,7 +1289,7 @@ async fn test_get_webxdc_info() -> Result<()> {
let info = instance.get_webxdc_info(&t).await?;
assert_eq!(info.name, "minimal.xdc");
assert_eq!(info.icon, WEBXDC_DEFAULT_ICON.to_string());
assert_eq!(info.send_update_interval, 10000);
assert_eq!(info.send_update_interval, 1000);
assert_eq!(info.send_update_max_size, RECOMMENDED_FILE_SIZE as usize);
let mut instance = create_webxdc_instance(