Merge pull request 'mailstream: do not mail dislike messages' (#1472) from mexon/friendica-addons:mailstream-dislike into 2024.03-rc
Reviewed-on: https://git.friendi.ca/friendica/friendica-addons/pulls/1472pull/1473/head
commit
dc709c699a
|
@ -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']);
|
||||
|
|
Loading…
Reference in New Issue