Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Deactivated user's presence online #15623

Open

Description

@nishant378

Synapse version: v1.65.0
Linux version: 20.04

When admin deactivate a user, the presence of the deactivated user remains online. The application is taking the presence of deactivated user from cache. When we logout and login then deactivated user's presence shows offline.
What can i do so that it doesn't take presence from cache?

Activity

  1. reivilibre commented on May 19, 2023

    @reivilibre
    Contributor

    Does the user stay online forever or does it eventually reset to offline? Presence information is usually not tracked immediately but instead refreshed occasionally, as far as I remember.

  2. added
    S-TolerableMinor significance, cosmetic issues, low or no impact to users.
    T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.
    O-UncommonMost users are unlikely to come across this or unexpected workflow
    A-Account-Deactivation"Deleting"/"Removing" a user, GDPR erasure (erased)
    on May 19, 2023
  3. nishant378 commented on May 19, 2023

    @nishant378
    Author

    I have deactivated a user after 6 days the user remains online. Taking presence from cache I need to logout and login to see the deactivated user offline.

  4. clokep commented on May 19, 2023

    @clokep
    Member

    Do you happen to know if Synapse was restarted in between? I'm wondering if this is "just" a cache clearing issue or not.

  5. nishant378 commented on May 19, 2023

    @nishant378
    Author

    I didn't restart the synapse. It just a cache clearing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Account-Deactivation"Deleting"/"Removing" a user, GDPR erasure (erased)A-PresenceO-UncommonMost users are unlikely to come across this or unexpected workflowS-TolerableMinor significance, cosmetic issues, low or no impact to users.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions