-
-
Notifications
You must be signed in to change notification settings - Fork 407
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
Direct message support for matrix (element) connector #1938
Comments
Having trouble to receive the direct messages also.
I can receive and send messages from any public or private(not encrypted) room, but from DM generates this error:
Any ideas on how to solve it? |
The matrix connector as currently implemented should be perfectly capable of processing messages in DMs. It will respond to any event in any room (DMs are just rooms with two people) it is in. If you want the bot to automatically join rooms it's invited to you need to do something like this: @match_event(UserInvite)
async def on_invite_to_room(self, invite):
"""
Join all rooms on invite.
"""
await invite.respond(JoinRoom()) in you skill. @diegodorgam Your issue is an encryption issue, I think it would be better if you opened a new issue if you are still having trouble. |
@Cadair I copied your solution but I couldn't figure out why it's not working. Here is my code:
configuration/configuration.yaml
I also copied this from you: https://github.com/Cadair/skill-jitsi/blob/d0af91ad921b8123272ccccdff90260d62034ed4/__init__.py#L249-L257 but it's the same, not working. |
Description
Ability to handle direct messages in matrix. Users should be able to interact with bot in pv for matrix connector (other connectors such as slack and telegram already support this)
The text was updated successfully, but these errors were encountered: