forked from jmug/stoatchat
revert: disable user update events (#593)
* Revert "fix: cut presence traffic too while we engineer a new events architecture (#561)" This reverts commit1f8ea963ad. * Revert "fix: cut events traffic while we engineer a new events architecture (#559)" This reverts commita11986ba1a. * chore: only revert user update
This commit is contained in:
@@ -398,7 +398,8 @@ impl State {
|
||||
}
|
||||
|
||||
/// Push presence change to the user and all associated server topics
|
||||
pub async fn broadcast_presence_change(&self, target: bool) {
|
||||
pub async fn broadcast_presence_change(&self, _target: bool) {
|
||||
// disabled events
|
||||
// if if let Some(status) = &self.cache.users.get(&self.cache.user_id).unwrap().status {
|
||||
// status.presence != Some(Presence::Invisible)
|
||||
// } else {
|
||||
|
||||
Reference in New Issue
Block a user