Skip to content

bridgev2: account data events (m.marked_unread, m.tag) from Matrix never reach bridge connectors #479

@kalix127

Description

@kalix127

Room account data events (m.marked_unread, m.tag, com.beeper.mute) set by Matrix users never reach bridge connectors. The handler code exists in portal.go (handleMatrixAccountData for AccountDataMarkedUnread, AccountDataRoomTags, AccountDataBeeperMute) but these events never arrive because Synapse does not include room account data in appservice transactions.

This means features like marking a chat as unread from Element, changing room tags, or muting from the Matrix side are never bridged to the remote network, even though the connector-side handlers (e.g. HandleMarkedUnread, HandleRoomTag, HandleMute) are implemented.

Found while investigating mautrix/whatsapp#891 (marking a chat as unread not being bridged between WhatsApp and Matrix).

I'll open a PR with a fix for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions