mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Updated Autolinker library (Closes #532)
This commit is contained in:
parent
45fc261b28
commit
f817a680a2
15 changed files with 3145 additions and 869 deletions
|
|
@ -11,6 +11,7 @@
|
|||
Base64 = require('Common/Base64'),
|
||||
|
||||
Cache = require('Common/Cache'),
|
||||
Links = require('Common/Links'),
|
||||
|
||||
Settings = require('Storage/Settings'),
|
||||
|
||||
|
|
@ -29,8 +30,6 @@
|
|||
AbstractAjaxRemote.call(this);
|
||||
|
||||
this.oRequests = {};
|
||||
|
||||
this.sSubSubQuery = '&ss=/';
|
||||
}
|
||||
|
||||
_.extend(RemoteUserAjax.prototype, AbstractAjaxRemote.prototype);
|
||||
|
|
@ -352,7 +351,7 @@
|
|||
{
|
||||
return this.defaultRequest(fCallback, 'MessageList', {},
|
||||
'' === sSearch ? Consts.Defaults.DefaultAjaxTimeout : Consts.Defaults.SearchAjaxTimeout,
|
||||
'MessageList/' + this.sSubSubQuery + Base64.urlsafe_encode([
|
||||
'MessageList/' + Links.subQueryPrefix() + '/' + Base64.urlsafe_encode([
|
||||
sFolderFullNameRaw,
|
||||
iOffset,
|
||||
iLimit,
|
||||
|
|
@ -402,7 +401,7 @@
|
|||
if (Cache.getFolderFromCacheList(sFolderFullNameRaw) && 0 < iUid)
|
||||
{
|
||||
this.defaultRequest(fCallback, 'Message', {}, null,
|
||||
'Message/' + this.sSubSubQuery + Base64.urlsafe_encode([
|
||||
'Message/' + Links.subQueryPrefix() + '/' + Base64.urlsafe_encode([
|
||||
sFolderFullNameRaw,
|
||||
iUid,
|
||||
AppStore.projectHash(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue