Breaking change to FriendStatus, user cache sync.

This commit is contained in:
Paul Makles
2020-08-10 22:23:58 +02:00
parent 8cb697dfcd
commit 0b90145b31
6 changed files with 67 additions and 27 deletions

View File

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

View File

@@ -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,
}