feat: Add 📱 to all webxdc summaries (#7790)

This can be done now as Desktop doesn't prepend icons from webxdc archives to summaries anymore.
This commit is contained in:
iequidoo
2026-02-04 08:11:43 -03:00
committed by iequidoo
parent bbf9a86bce
commit 4041d9a54e
2 changed files with 4 additions and 5 deletions

View File

@@ -1602,7 +1602,7 @@ async fn test_webxdc_chatlist_summary() -> Result<()> {
let chatlist = Chatlist::try_load(&t, 0, None, None).await?;
assert_eq!(chatlist.len(), 1);
let summary = chatlist.get_summary(&t, 0, None).await?;
assert_eq!(summary.text, "nice app!".to_string());
assert_eq!(summary.text, "📱 nice app!".to_string());
assert_eq!(summary.thumbnail_path.unwrap(), "webxdc-icon://last-msg-id");
Ok(())