Don't check against product name if checking server version
authorFelix Weilbach <felix.weilbach@nextcloud.com>
Tue, 16 Mar 2021 11:09:49 +0000 (12:09 +0100)
committerFelix Weilbach (Rebase PR Action) <felix.weilbach@t-online.de>
Tue, 16 Mar 2021 14:30:56 +0000 (14:30 +0000)
commitc0f09ae12cf83789bd65153e4e6347858c266d7b
tree4e33a9329b4f2a28b6433ff0b835a5d7f275cd62
parent162dff952513fa370a9db78f9fb805139e054cfe
Don't check against product name if checking server version

We should not rely on the product name because it is something the
user can change in the theming options on the server.

Fixes #3001

Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
VERSION.cmake
src/libsync/account.cpp
src/libsync/networkjobs.cpp
version.h.in