Added OAuth parameters

This commit is contained in:
M66B 2020-07-02 11:43:00 +02:00
parent 0d56d9f79d
commit 7bbd0f872d
1 changed files with 5 additions and 0 deletions

View File

@ -501,6 +501,11 @@ public class FragmentOAuth extends FragmentBase {
account.synchronize = true;
account.primary = (primary == null);
if (provider.keepalive > 0)
account.poll_interval = provider.keepalive;
account.partial_fetch = provider.partial;
account.created = new Date().getTime();
account.last_connected = account.created;