mailstream: do not mail dislike messages #1472

Merged
heluecht merged 1 commit from mexon/friendica-addons:mailstream-dislike into 2024.03-rc 2024-03-03 13:05:28 +01:00

View file

@ -169,6 +169,10 @@ function mailstream_post_hook(array &$item)
Logger::debug('mailstream: like item ' . $item['id']); Logger::debug('mailstream: like item ' . $item['id']);
return; return;
} }
if ($item['verb'] == Activity::DISLIKE) {
Logger::debug('mailstream: dislike item ' . $item['id']);
return;
}
} }
$message_id = mailstream_generate_id($item['uri']); $message_id = mailstream_generate_id($item['uri']);