File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/version Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ private const val FEATURE_THREADS_MSC3440_STABLE = "org.matrix.msc3440.stable"
57
57
private const val FEATURE_QR_CODE_LOGIN = " org.matrix.msc3882"
58
58
private const val FEATURE_THREADS_MSC3771 = " org.matrix.msc3771"
59
59
private const val FEATURE_THREADS_MSC3773 = " org.matrix.msc3773"
60
- private const val FEATURE_PUSH_NOTIFICATIONS_MSC3881 = " org.matrix.msc3881"
60
+ private const val FEATURE_REMOTE_TOGGLE_PUSH_NOTIFICATIONS_MSC3881 = " org.matrix.msc3881"
61
61
62
62
/* *
63
63
* Return true if the SDK supports this homeserver version.
@@ -151,5 +151,5 @@ private fun Versions.getMaxVersion(): HomeServerVersion {
151
151
* @return true if remote toggle of push notifications is supported
152
152
*/
153
153
internal fun Versions.doesServerSupportRemoteToggleOfPushNotifications (): Boolean {
154
- return unstableFeatures?.get(FEATURE_PUSH_NOTIFICATIONS_MSC3881 ).orFalse()
154
+ return unstableFeatures?.get(FEATURE_REMOTE_TOGGLE_PUSH_NOTIFICATIONS_MSC3881 ).orFalse()
155
155
}
You can’t perform that action at this time.
0 commit comments