Skip to content

Conversation

mgallien
Copy link
Collaborator

should enable easier debug by looking at web server access logs or server logs by just checking the user agent from desktop clients

should enable easier debug by looking at web server access logs or
server logs by just checking the user agent from desktop clients

Signed-off-by: Matthieu Gallien <[email protected]>
@mgallien mgallien added this to the 3.17.0 milestone May 13, 2025
Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-8267.zip

SHA256 checksum: 041357fa35e8169bec814d322861c63f82615bbf0b67b72ceac6b598596af478

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

switch (_syncOptions._vfs->mode())
{
case Vfs::Off:
_account->setSynchronizationType(QStringLiteral("classical"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing break

Suggested change
_account->setSynchronizationType(QStringLiteral("classical"));
_account->setSynchronizationType(QStringLiteral("classical"));
break;


void Account::setSynchronizationType(const QString &type)
{
static_cast<AccessManager*>(_networkAccessManager.get())->setSynchronizationType(type);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

once this is set, each request will contain SyncType: classical or SyncType: virtual

I only see SyncType: account (from above) at app startup, after a proper sync that value will change through this method

@mgallien mgallien modified the milestones: 3.17.0, 3.18.0 Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants