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

Request for a message returns m.room.encrypted instead #93

Open
VoQspu opened this issue May 6, 2021 · 1 comment
Open

Request for a message returns m.room.encrypted instead #93

VoQspu opened this issue May 6, 2021 · 1 comment

Comments

@VoQspu
Copy link

VoQspu commented May 6, 2021

Describe the bug
I'm trying to get the body of an encrypted message (decrypted by pantalaimon), but instead i get m.room.encrypted response.

To Reproduce
Steps to reproduce the behavior:

  1. Add 2 users to an encrypted room
  2. Verify users
  3. Send an encrypted message
  4. Send a request with correct room and event id (GET _matrix/client/r0/rooms/{roomId}/event/{eventId})
  5. Get a response of m.room.encrypted type

Expected behavior
Response with body of a message, as per:
https://matrix.org/docs/spec/client_server/latest#get-matrix-client-r0-rooms-roomid-event-eventid

@poljar
Copy link
Collaborator

poljar commented May 6, 2021

That request isn't yet overridden, it's just forwarded to the homeserver.

https://github.com/matrix-org/pantalaimon/blob/master/pantalaimon/main.py#L68

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

2 participants