Check if the server has user status app enabled
authorFelix Weilbach <felix.weilbach@nextcloud.com>
Fri, 12 Nov 2021 10:55:16 +0000 (11:55 +0100)
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>
Mon, 15 Nov 2021 16:20:58 +0000 (16:20 +0000)
commit07a8e8c91d68fb91d8da1d328f9b4eb0cb05ec6c
tree06b9a8654c442dcf338681ea58023b1504f253ee
parentdf745ef39c8c4ea59d483edb1293288e9d24789d
Check if the server has user status app enabled

According to
https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-status-api.html#user-status-retrieve-statuses
we should check the user status capability, not the the end points.

Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
src/gui/tray/usermodel.cpp
src/libsync/capabilities.cpp
src/libsync/capabilities.h