mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-15 17:44:30 +08:00
same small fixes
This commit is contained in:
parent
6bd66b8a2d
commit
8c077a94c6
3 changed files with 7 additions and 5 deletions
|
@ -18,6 +18,7 @@ export function MimeToMessage(data, message)
|
||||||
subject = struct.headerValue('subject');
|
subject = struct.headerValue('subject');
|
||||||
html = html ? html.body : '';
|
html = html ? html.body : '';
|
||||||
|
|
||||||
|
// Content-Type: ...; protected-headers="v1"
|
||||||
subject && message.subject(subject);
|
subject && message.subject(subject);
|
||||||
|
|
||||||
// EmailCollectionModel
|
// EmailCollectionModel
|
||||||
|
@ -99,6 +100,4 @@ export function MimeToMessage(data, message)
|
||||||
if (message.plain().includes(BEGIN_PGP_MESSAGE)) {
|
if (message.plain().includes(BEGIN_PGP_MESSAGE)) {
|
||||||
message.pgpSigned(true);
|
message.pgpSigned(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Verify instantly?
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -454,7 +454,8 @@ and called in JavaScript using rl.pluginRemoteRequest().
|
||||||
|
|
||||||
### rl-view-model.create
|
### rl-view-model.create
|
||||||
event.detail = the ViewModel class
|
event.detail = the ViewModel class
|
||||||
Happens immediately after the ViewModel constructor
|
Happens immediately after the ViewModel constructor.
|
||||||
|
See accessible properties as https://github.com/the-djmaze/snappymail/blob/master/dev/Knoin/AbstractViews.js
|
||||||
|
|
||||||
### rl-view-model
|
### rl-view-model
|
||||||
event.detail = the ViewModel class
|
event.detail = the ViewModel class
|
||||||
|
|
|
@ -389,9 +389,11 @@ class MailClient
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function MessageThread(string $sMessageID) : MessageCollection
|
public function MessageThread(string $sFolderName, string $sMessageID) : MessageCollection
|
||||||
{
|
{
|
||||||
$sMessageID = SearchCriterias::escapeSearchString($this->oImapClient, $sMessageID);
|
$this->oImapClient->FolderExamine($sFolderName);
|
||||||
|
|
||||||
|
$sMessageID = \MailSo\Imap\SearchCriterias::escapeSearchString($this->oImapClient, $sMessageID);
|
||||||
$sSearch = "OR HEADER Message-ID {$sMessageID} HEADER References {$sMessageID}";
|
$sSearch = "OR HEADER Message-ID {$sMessageID} HEADER References {$sMessageID}";
|
||||||
$aResult = [];
|
$aResult = [];
|
||||||
try
|
try
|
||||||
|
|
Loading…
Add table
Reference in a new issue