mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 20:03:40 +00:00
do not mail dislike messages
This commit is contained in:
parent
53be7d9423
commit
58cb933779
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue