mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 02:48:49 +03:00
Add debug message
This commit is contained in:
parent
1246a455f3
commit
eeec1b8b49
1 changed files with 20 additions and 16 deletions
|
|
@ -24,23 +24,27 @@ class RemoteUserFetch extends AbstractFetchRemote {
|
||||||
sFolderFullName = pString(sFolderFullName);
|
sFolderFullName = pString(sFolderFullName);
|
||||||
iUid = pInt(iUid);
|
iUid = pInt(iUid);
|
||||||
|
|
||||||
if (getFolderFromCacheList(sFolderFullName) && 0 < iUid) {
|
if (0 < iUid) {
|
||||||
this.abort('Message').request('Message',
|
if (getFolderFromCacheList(sFolderFullName)) {
|
||||||
fCallback,
|
this.abort('Message').request('Message',
|
||||||
{},
|
fCallback,
|
||||||
null,
|
{},
|
||||||
'Message/' +
|
null,
|
||||||
SUB_QUERY_PREFIX +
|
'Message/' +
|
||||||
'/' +
|
SUB_QUERY_PREFIX +
|
||||||
b64EncodeJSONSafe([
|
'/' +
|
||||||
sFolderFullName,
|
b64EncodeJSONSafe([
|
||||||
iUid,
|
sFolderFullName,
|
||||||
AppUserStore.threadsAllowed() && SettingsUserStore.useThreads() ? 1 : 0,
|
iUid,
|
||||||
SettingsGet('accountHash')
|
AppUserStore.threadsAllowed() && SettingsUserStore.useThreads() ? 1 : 0,
|
||||||
])
|
SettingsGet('accountHash')
|
||||||
);
|
])
|
||||||
|
);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
} else {
|
||||||
|
console.warn(`Remote.message: no such folder ${JSON.stringify(sFolderFullName)}, not fetching uid ${iUid}`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue