forked from jmug/stoatchat
Servers: Core objects required. Includes creation. Bump version to 0.5.0.
This commit is contained in:
@@ -243,8 +243,8 @@ pub fn publish(ids: Vec<String>, notification: ClientboundNotification) {
|
||||
for id in ids {
|
||||
// Block certain notifications from reaching users that aren't meant to see them.
|
||||
match ¬ification {
|
||||
ClientboundNotification::UserRelationship { id: user_id, .. } |
|
||||
ClientboundNotification::UserSettingsUpdate { id: user_id, .. } => {
|
||||
ClientboundNotification::UserRelationship { id: user_id, .. }
|
||||
| ClientboundNotification::UserSettingsUpdate { id: user_id, .. } => {
|
||||
if &id != user_id {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user