Skip to content

Conversation

@nickvergessen
Copy link
Member

  • Enabled by default, but optional
  • Improves privacy of guests as their user id does not automatically leak their email address (e.g. avatars in chats and more)

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen added enhancement New feature or request 3. to review Waiting for reviews labels May 1, 2025
@nickvergessen nickvergessen self-assigned this May 1, 2025
Comment on lines +279 to +282
$users[(string)$row['uid']] = [
'email' => (string)$row['email'],
'displayname' => (string)$row['displayname'],
];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: a generator may make sense here: Do all guests fit in memory?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getDisplayNames() above is basically doing the same thing. Just had to do an array as value so we can have email + displayname

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants