diff options
Diffstat (limited to 'src/libsync')
-rw-r--r-- | src/libsync/theme.cpp | 5 | ||||
-rw-r--r-- | src/libsync/theme.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/libsync/theme.cpp b/src/libsync/theme.cpp index dca5280b8..b75beb36c 100644 --- a/src/libsync/theme.cpp +++ b/src/libsync/theme.cpp @@ -678,4 +678,9 @@ bool Theme::connectionValidatorClearCookies() const return false; } +bool Theme::enableSocketApiIconSupport() const +{ + return true; +} + } // end namespace client diff --git a/src/libsync/theme.h b/src/libsync/theme.h index ff1c5d4c4..13e19bb0a 100644 --- a/src/libsync/theme.h +++ b/src/libsync/theme.h @@ -428,6 +428,13 @@ public: virtual bool connectionValidatorClearCookies() const; + /** + * Enables the response of V2/GET_CLIENT_ICON, default true. + * See #9167 + */ + virtual bool enableSocketApiIconSupport() const; + + protected: #ifndef TOKEN_AUTH_ONLY QIcon themeUniversalIcon(const QString &name, IconType iconType = IconType::BrandedIcon) const; |