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

Element X sometime presenting as 'matrix-rust-sdk' #1504

Closed
neilisfragile opened this issue Aug 17, 2023 · 1 comment · Fixed by #1507
Closed

Element X sometime presenting as 'matrix-rust-sdk' #1504

neilisfragile opened this issue Aug 17, 2023 · 1 comment · Fixed by #1507
Labels

Comments

@neilisfragile
Copy link
Member

Steps to reproduce

From the perspective of Synapse, Element X sometimes presents itself correctly as 'Element X/...' and other times as the rust-sdk default 'matrix-rust-sdk'.

I'm not sure which contexts lead to which outcome but it is common enough that for a given user like me there will be examples of 'matrix-rust-sdk' daily.

Outcome

What did you expect?

I expect Element X to correctly set the user agent so that we can determine the client type server side.

What happened instead?

The user agent is sometimes 'matrix-rust-sdk'

@jplatte suggests that this could be due to EX not overriding the user_agent properly when constructing an SDK client object.

Your phone model

n/a

Operating system version

n/a

Application version

n/a

Homeserver

matrix.org

Will you send logs?

No

@Velin92
Copy link
Contributor

Velin92 commented Aug 17, 2023

This is likely caused by the Notification Service Extension that now is capable of performing a sync but lacks a user agent name, luckily this is easily fixable.

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

Successfully merging a pull request may close this issue.

2 participants