Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nedb datastore does not store topic changes #1844

Open
f0x52 opened this issue Jan 25, 2025 · 0 comments
Open

nedb datastore does not store topic changes #1844

f0x52 opened this issue Jan 25, 2025 · 0 comments

Comments

@f0x52
Copy link
Contributor

f0x52 commented Jan 25, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant