-
Notifications
You must be signed in to change notification settings - Fork 290
Allow adding an EventHandler to a specific room #177
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
Comments
The event handler was moved in #183. |
Maybe it's not the right place, but to continue our talk from the matrix room: Alternatively, rooms could provide Of course this has more value if the timeline is stored in the store. |
I think this is something interesting to explore. |
This is going to be hard to support without crippling the support for different store implementations. Our state store is a trait and us using sled is just an implementation detail. |
Shouldn't be hard to support, so if there's a compelling use case why not 🙂 |
Assigning to myself so I remember to write some instructions. My current thinking is that we should probably have |
Uh oh!
There was an error while loading. Please reload this page.
Merge request #168 introduced a high-level API for the
matrix-sdk
which allows use to move thematrix-sdk-base::EventHandler
to thematrix-sdk
. In addition to that I would suggest moving theEventHandler
to theroom::Common
since each event is emitted for a specific room. Additionally, I think we can add anEventHandler
to theClient
that emits events that happen outside of a room e.g. changes to the user's name and avatar.The text was updated successfully, but these errors were encountered: