Incorporate review

This commit is contained in:
Brendan Abolivier 2021-03-19 18:19:50 +01:00
parent 592d6305fd
commit b6ed4f55ac
No known key found for this signature in database
GPG key ID: 1E015C145F1916CD
2 changed files with 2 additions and 2 deletions

View file

@ -751,7 +751,7 @@ class PresenceHandler(BasePresenceHandler):
new_fields["status_msg"] = msg
if presence == PresenceState.ONLINE or (
self._busy_presence_enabled and presence == PresenceState.BUSY
presence == PresenceState.BUSY and self._busy_presence_enabled
):
new_fields["last_active_ts"] = self.clock.time_msec()