mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
Breaking change to FriendStatus, user cache sync.
This commit is contained in:
@@ -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