Breaking change to FriendStatus, user cache sync.
This commit is contained in:
1 parent
8cb697dfcd
commit
0b90145b31
6 files changed
+67
-27
No files matched your search
@@ -41,5 +41,7 @@ impl Notification {
|
||||
|
||||
pub fn push_to_cache(&self) {
|
||||
crate::database::channel::process_event(&self);
|
||||
crate::database::guild::process_event(&self);
|
||||
crate::database::user::process_event(&self);
|
||||
}
|
||||
}
|
||||
@@ -3,5 +3,6 @@ use serde::{Deserialize, Serialize};
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
pub struct FriendStatus {
|
||||
pub id: String,
|
||||
pub user: String,
|
||||
pub status: i32,
|
||||
}
|
||||
Reference in new issue
Block a user