This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix overwriting profile when making room public #11003
Merged
DMRobertson
merged 13 commits into
develop
from
dmr/user-dir/fix-overwriting-profile-when-making-room-public
Oct 8, 2021
Merged
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
06a43f3
Test that directory entries aren't altered by making a room public
0da3f86
Split apart `handle_new_user`
d982043
Changing publicness does not affect profiles
b0bbfd0
_track_user_joined_room does not need a profile
066bd11
_upsert_directory_entry_for_user doesn't need a room_id
deda1bb
We only need to upsert user dir entries for remote users
68d941a
We only need to fetch a profile from an event in the remote case
b8688b0
Oops. Remove debug print call.
3b99ab3
Fix debug logging string
f96feb3
Changelog
79363a9
Explanatory comment
b527e65
Fit def onto one line
2f01e54
Don't make a ProfileInfo just to rip it apart
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if the spec should mandate this. 🤷