feat: de-duplicate user update events sent to clients

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

No files matched your search

@@ -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;