Skip to content

Improve Session Handling for Multiple Admins #47

Description

@adidrakovac1

This is not important for now, when time comes someone will be assigneed.

Currently, if one admin declines a session request, the system immediately informs the Android device. This results in a poor experience when multiple admins are online. The logic should be improved so that the system waits for responses from all admins before making a decision. Additionally, once one admin accepts the session, others should be notified that the session is taken.

Tasks:

  • Track session invitation status per admin (pending, accepted, declined).
  • Wait until all admins have responded or a timeout occurs before notifying the Android device.
  • Once one admin accepts, automatically cancel pending invites for others.
  • Notify remaining admins that the session was accepted by someone else.
  • Handle timeout scenario if no one responds within the expected window.

Acceptance Criteria:
• System does not notify the Android device until all admins respond or timeout occurs.
• If one admin accepts, other admins see a message like “Session accepted by [Admin Name].”
• If all admins decline or the timeout passes with no response, the session is rejected for the Android device.
• Admins cannot accept a session once another admin has already accepted.
• Admin responses are properly logged and reflected in the UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions