mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 09:27:03 +03:00
Improved mailbox ETag
This commit is contained in:
parent
2dbf192558
commit
59b3fe70b6
7 changed files with 26 additions and 47 deletions
|
|
@ -65,7 +65,7 @@ trait Messages
|
|||
// $oInfo = $this->MailClient()->FolderHash($oParams->sFolderName);
|
||||
$oInfo = $this->ImapClient()->FolderStatusAndSelect($oParams->sFolderName);
|
||||
$aRequestHash = \explode('-', $sHash);
|
||||
$sFolderHash = $oInfo->getETag($this->getAccountFromToken()->IncLogin());
|
||||
$sFolderHash = $oInfo->etag;
|
||||
$sHash = $oParams->hash() . '-' . $sFolderHash;
|
||||
if ($aRequestHash[1] == $sFolderHash) {
|
||||
$this->verifyCacheByKey($sHash);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue