feat: de-duplicate user update events sent to clients

This commit is contained in:
Paul Makles
2023-05-21 16:22:42 +01:00
parent d81d08f1ce
commit 3ef549537e
4 changed files with 35 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ impl User {
id: self.id.clone(),
data: partial,
clear: remove,
event_id: Some(ulid::Ulid::new().to_string()),
}
.p_user(self.id.clone(), db)
.await;