mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Fix capabilities when THREAD is disabled
Signed-off-by: Akhil <akhil@e.email>
This commit is contained in:
parent
c33dd8f856
commit
b8f7f751b0
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ class ImapClient extends \MailSo\Net\NetClient
|
||||||
// Set active capabilities
|
// Set active capabilities
|
||||||
$aList = \array_diff($aList, $this->Settings->disabled_capabilities);
|
$aList = \array_diff($aList, $this->Settings->disabled_capabilities);
|
||||||
if (\in_array('THREAD', $this->Settings->disabled_capabilities)) {
|
if (\in_array('THREAD', $this->Settings->disabled_capabilities)) {
|
||||||
$aList = \array_filter($aList, function ($item) { \str_starts_with($item, 'THREAD='); });
|
$aList = \array_filter($aList, function ($item) { return !\str_starts_with($item, 'THREAD='); });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->aCapa = $aList;
|
$this->aCapa = $aList;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue