-
-
Notifications
You must be signed in to change notification settings - Fork 601
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
Functional members #1771
Merged
Merged
Functional members #1771
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
8c0f5b4
Update event.ts: Add io.element.functional_members
d60affc
room.calculateRoomName: Exclude service members
a248bbc
Update src/models/room.ts
4700dc0
Remove trailing spaces
d219c2f
Fix mistakes
0074b71
Fix object-curly-spacing linting errors
c426369
Update event.ts
96420a7
room.ts: Use UNSTABLE_ELEMENT_FUNCTIONAL_USERS
ab679c2
Update src/@types/event.ts
96e6e7b
Update event.ts
116085e
Fix linter error
d7e6cee
Update room.ts
7129c7c
Update src/models/room.ts
4a1cd15
Update event.ts
4cf6557
Add tests
324cd88
Merge remote-tracking branch 'origin/develop' into j94/functional-mem…
718a22f
Merge branch 'j94/functional-members' of github.com:matrix-org/matrix…
b8c2a57
Add test with multiple service_members
cb2b961
Replace .indexOf() !== -1 with .includes() for readability
afa6768
Add test for service member who is not a room member
b4bffd2
Merge remote-tracking branch 'origin/develop' into j94/functional-mem…
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
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
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
Oops, something went wrong.
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'd sooner hop into
UnstableValue
and mark the second field as optional, fixing any docs along the way.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'd make it a type of its own, as UnstableValue has a different meaning, is exported and also requires
unstable
to be defined.Or do you mean to set
.unstable
to the same value as.name
if no second parameter is provided to the constructor?