fix: messages loading when sender deleted their account

This commit is contained in:
trisua 2025-05-09 16:42:38 -04:00
parent 733a8a7d09
commit 6893aeedb5

View file

@ -73,7 +73,7 @@ impl DataManager {
if let Some(user) = users.get(&owner) {
out.push((message.to_owned(), user.clone(), next_owner == owner));
} else {
let user = self.get_user_by_id(owner).await?;
let user = self.get_user_by_id_with_void(owner).await?;
users.insert(owner, user.clone());
out.push((message.to_owned(), user, next_owner == owner));
}