-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Remove Status
and Activity
bindables from APIUser
#31513
Changes from all commits
20108e3
b7a9b77
7ca3a6f
b54d959
c1f0c47
8400726
ae7e4be
5425d62
a51938f
3bb4b0c
311f08b
41c603b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -211,7 +211,7 @@ protected override void InitialiseDefaults() | |
SetDefault(OsuSetting.LastProcessedMetadataId, -1); | ||
|
||
SetDefault(OsuSetting.ComboColourNormalisationAmount, 0.2f, 0f, 1f, 0.01f); | ||
SetDefault<UserStatus?>(OsuSetting.UserOnlineStatus, null); | ||
SetDefault(OsuSetting.UserOnlineStatus, UserStatus.Online); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note that this will throw a non-fatal runtime error if you have the previous
However, the value is set to This is not easy to handle because we don't have a good way to change values from nullable to non-nullable right now (if ever?), so I left it as is and hope this is okay. Adding a migration doesn't help because those are processed after all these defaults are applied. |
||
|
||
SetDefault(OsuSetting.EditorTimelineShowTimingChanges, true); | ||
SetDefault(OsuSetting.EditorTimelineShowBreaks, true); | ||
|
@@ -443,7 +443,12 @@ public enum OsuSetting | |
EditorShowSpeedChanges, | ||
TouchDisableGameplayTaps, | ||
ModSelectTextSearchStartsActive, | ||
|
||
/// <summary> | ||
/// The status for the current user to broadcast to other players. | ||
/// </summary> | ||
UserOnlineStatus, | ||
|
||
MultiplayerRoomFilter, | ||
HideCountryFlags, | ||
EditorTimelineShowTimingChanges, | ||
|
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.
As mentioned in 20108e3, this is a hack that I expect to go away soon because obviously this has no way to convey user activity & dnd state.