File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ final class NCBrandOptions: @unchecked Sendable {
26
26
var textCopyrightNextcloudiOS : String = " Nextcloud Matheria for iOS %@ © 2025 "
27
27
var textCopyrightNextcloudServer : String = " Nextcloud Server %@ "
28
28
var loginBaseUrl : String = " https://cloud.nextcloud.com "
29
- var pushNotificationServerProxy : String = " https://push-notifications.nextcloud.com "
29
+ var pushNotificationServerProxy : String = " "
30
30
var linkLoginHost : String = " https://nextcloud.com/install "
31
31
var linkloginPreferredProviders : String = " https://nextcloud.com/signup-ios "
32
32
var webLoginAutenticationProtocol : String = " nc:// " // example "abc://"
@@ -110,9 +110,14 @@ final class NCBrandOptions: @unchecked Sendable {
110
110
enforce_passcode_lock = ( str as NSString ) . boolValue
111
111
}
112
112
}
113
- #if DEBUG
113
+ #if DEBUG
114
114
pushNotificationServerProxy = " https://c0004.customerpush.nextcloud.com "
115
- #endif
115
+ #else
116
+ if pushNotificationServerProxy. isEmpty,
117
+ brand == " Nextcloud " {
118
+ pushNotificationServerProxy = " https://push-notifications.nextcloud.com "
119
+ }
120
+ #endif
116
121
}
117
122
118
123
@objc func getUserAgent( ) -> String {
You can’t perform that action at this time.
0 commit comments