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

Appservices are not queried for users during profile requests #4310

Open
turt2live opened this issue Dec 20, 2018 · 0 comments
Open

Appservices are not queried for users during profile requests #4310

turt2live opened this issue Dec 20, 2018 · 0 comments
Labels
A-Application-Service Related to AS support T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@turt2live
Copy link
Member

Related: #4143

When Synapse receives an event that is directed at/sent by an appservice user, it ensures the appservice has registered the user by hitting the /users appservice API. This check is not done during profile requests, however. This means that when clients try and do profile lookups before invites (such as in the case of riot: element-hq/element-web#7922), they might not bother with the invite because the user doesn't exist.

TLDR: Synapse should be hitting an appservice's /users endpoint during profile lookup requests too.

@MadLittleMods MadLittleMods added A-Application-Service Related to AS support T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. labels May 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Application-Service Related to AS support T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

No branches or pull requests

2 participants