New Feature: Settings sync to server.

This commit is contained in:
Paul
2021-05-26 13:02:40 +01:00
parent 5aa9624d5c
commit 3cd3bc54af
7 changed files with 113 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
use std::collections::HashMap;
use hive_pubsub::PubSub;
use rauth::auth::Session;
use rocket_contrib::json::JsonValue;
@@ -100,6 +102,10 @@ pub enum ClientboundNotification {
id: String,
online: bool,
},
UserSettingsUpdate {
id: String,
update: HashMap<String, String>
}
}
impl ClientboundNotification {