Skip to content

nedb datastore does not store topic changes #1844

@f0x52

Description

@f0x52

serviceTopicQueue calls upsertMatrixRoom to store the updated topic in the datastore.
In the Nedb implementation this calls matrix-appservice-bridge's RoomStore.setMatrixRoom, which stores it keyed on id: matrixRoom.getId(), with properties id, matrix_id, matrix.

On future topic changes, getEntriesByRemoteId instead returns the entry for id $matrixRoomId $network $channel, as that has a remote_id of $network $channel, which has no topic set in the MatrixRoom data.

Unsure if this is a bug in matrix-appservice-irc or matrix-appservice-bridge (or both), feel free to transfer this issue if needed.

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