mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 17:14:26 +02:00
multipart messages complete, message-id conversion done.
This commit is contained in:
parent
0ba45eb745
commit
a74b0746b1
4 changed files with 29 additions and 20 deletions
|
@ -651,10 +651,10 @@ function notifier_run($argv, $argc){
|
|||
$file = tempnam("/tmp/friendica/", "mail-out2-");
|
||||
file_put_contents($file, json_encode($it));
|
||||
|
||||
$headers .= 'Message-Id: <' . email_cleanupmessageid($it['uri']) . '>' . "\n";
|
||||
$headers .= 'Message-Id: <' . iri2msgid($it['uri']) . '>' . "\n";
|
||||
|
||||
if($it['uri'] !== $it['parent-uri']) {
|
||||
$headers .= 'References: <' . email_cleanupmessageid($it['parent-uri']) . '>' . "\n";
|
||||
$headers .= 'References: <' . iri2msgid($it['parent-uri']) . '>' . "\n";
|
||||
if(! strlen($it['title'])) {
|
||||
$r = q("SELECT `title` FROM `item` WHERE `parent-uri` = '%s' LIMIT 1",
|
||||
dbesc($it['parent-uri'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue