Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

m.direct event sometimes contains "[object Object]" instead of a user ID as a key #8834

Closed
jplatte opened this issue Nov 27, 2020 · 5 comments

Comments

@jplatte
Copy link
Contributor

jplatte commented Nov 27, 2020

Description

Some m.direct events seen in the wild contain

"content": {
    "[object Object]": ["!someroomid:homeserver"],
}

Steps to reproduce

Unclear, but @afranke has an account where this happens.

Version information

  • Homeserver: matrix.org
@richvdh
Copy link
Member

richvdh commented Nov 27, 2020

[object Object] looks like something javascript would create: this suggests a client bug to me.

@richvdh
Copy link
Member

richvdh commented Nov 27, 2020

indeed I'm going to close this in favour of element-hq/element-web#7485.

@richvdh richvdh closed this as completed Nov 27, 2020
@jplatte
Copy link
Contributor Author

jplatte commented Nov 27, 2020

I was thinking the same. Still, is this not something Synapse should / could filter out?

@richvdh
Copy link
Member

richvdh commented Nov 27, 2020

no, the homeserver is not responsible for checking the validity of account data. matrix-org/matrix-spec-proposals#2801 goes into some detail as to why this isn't practical.

@jplatte
Copy link
Contributor Author

jplatte commented Nov 27, 2020

I see, makes sense.

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

No branches or pull requests

2 participants