Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

[BUG] Contextual bar elements always return wrong roomID for action handler #788

@RyanbowZ

Description

@RyanbowZ

When adding an element (e.g. a button) on a contextual bar, it will set some Action IDs, and then the executeActionHandler is expected to handle the action when the element is triggered and process it according to that ID.
But in code implementation, despite that element is triggered, the room id get by this handler is wrong, which is just the general room rather than the room that the contextual bar was in.

Current temporary solution: from @vipin.chaudhary and @zishan.ahmad
When you open the contextual bar it's opening in correct room mean the action you are using to open the room get's the correct I'd but when you make a action handler it's getting the general room
The fix for this one is when you do a action to open the contextual bar just store the roomId in persistence for each user.
And when you need to perform an action use that stored room I'd to get the room info using room reader
When you are done just remove the persistence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions