do not mail dislike messages

This commit is contained in:
Matthew Exon 2024-03-03 17:47:42 +08:00
parent 52ea77eabb
commit b9b84d10eb

View file

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