This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
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.
Sort muted rooms to the bottom of their section of the room list #10592
Sort muted rooms to the bottom of their section of the room list #10592
Changes from all commits
b937438
5292e47
07606b1
668cf8e
6450a73
94ed2a6
4352b46
1b095d3
3ed9133
acb7606
17c72fb
e638e15
cd00719
625e286
b8cb050
86194ab
e44f8be
b92f410
a4a05d2
4028131
f5faa5f
097b81b
1c81d6f
652a41f
84ea40f
b2e9281
bbb19f5
6a15a48
33a32f6
bfb9ed6
6eb155b
c418923
0b9997c
237b4ca
43f3316
ca05e61
8654bea
30be86f
947f994
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
add this to the definition of
AccountDataAction
please.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.
It feels a bit asymmetric that we add the type and content of
accountDataEvent
to the action separately, but use a single field forpreviousAccountDataEvent
. Did you consider splittingpreviousAccountDataEvent
for symmetry?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 don't really like the destructuring in the first place as the
event
is also included in full.Most other matrix actions that have events in their payload don't do any destructuring.
previousEvent
will also always have the same type as eventThere 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.
oh yes, I'd failed to spot the presence of
event
. What a strange structure. 👍 to your solution here.