-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
[Spec] MSC2285 Stable/Unstable crossover period support #717
Conversation
Added a Deprecation notice, track against Synapse
case ReadReceiptTypes.Private: | ||
return Strings.labelPrivate; | ||
|
||
default: //I've not been coded for this one yet |
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.
What is the functionality expected behind this one?
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.
Purely defensive. The only two in the spec (on and private) + Off
are handled above it. Feel free to patch out as wanted, it's on origin
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.
Note this is purely to handle string translation
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.
Other than the question I posted, this looks good. Great work!
Once that's clear, will approve. Can we set the switch block default to return Strings.labelOn
? I'm assuming the actual default setting will still be "Off" correct?
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.
Great work!
Types
Changes
🔮 Features
🐛 Fixes
🔒 Security
🛠 Performance
📐 Refactoring
Media (if applicable)
QA
Final Checklist