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

appservice: Rename virtual user to appservice user #1109

Closed
johannescpk opened this issue Oct 14, 2022 · 4 comments · Fixed by #1190
Closed

appservice: Rename virtual user to appservice user #1109

johannescpk opened this issue Oct 14, 2022 · 4 comments · Fixed by #1190

Comments

@johannescpk
Copy link
Contributor

johannescpk commented Oct 14, 2022

Currently the appservice crate calls the users for which identity assertion is performed "virtual users". There's no clear terminology how those users are called in the spec. The homeserver itself just sees them as users belonging to a specific appservice. So it would make sense to just call them users in the scope of the appservice crate, which would also remove the confusion around the difference of "virtual users" (identity assertion) and the "main user" (sender_localpart).

@jplatte
Copy link
Collaborator

jplatte commented Nov 3, 2022

There's also the option of renaming to puppet_user, which I think is more common terminology for users in an appservice's namespace.

@Yoric
Copy link

Yoric commented Nov 7, 2022

They're not really users, though, until they have been registered, right? So I suspect that just calling them "users" would be misleading.

I have no problem with "virtual user" or "puppet user", as long as there is something making it clear that it's not completely a user out of the box.

@johannescpk
Copy link
Contributor Author

johannescpk commented Nov 8, 2022

"Puppet" is an ecosystem term, not something in the spec – and the sender_localpart user isn't a puppet.

"virtual user" is mentioned twice in the spec, but it collides with the sender_localpart user, which isn't a virtual user. Both are appservice users.

Hence the most fitting term is "appservice user", which makes it just "user" in the context of the appservice crate.

@johannescpk johannescpk changed the title appservice: Rename virtual_user to just user appservice: Rename virtual user to appservice user Nov 8, 2022
@Half-Shot
Copy link
Contributor

Agree with @johannescpk. The other terms are more bridge terms than AS terms. I would call them appservice users.

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

Successfully merging a pull request may close this issue.

4 participants