hides the new native gnu social delete-notices #281

This commit is contained in:
Hannes Mannerheim 2015-10-04 20:15:03 +02:00
parent 4abe665c4b
commit e97bbd2df5

View File

@ -565,7 +565,7 @@ class QvitterPlugin extends Plugin {
}
}
if($notice->source == 'activity' || $notice->object_type == 'activity' || $notice->object_type == 'http://activitystrea.ms/schema/1.0/activity') {
if($notice->source == 'activity' || $notice->object_type == 'activity' || $notice->object_type == 'http://activitystrea.ms/schema/1.0/activity' || $notice->verb == 'delete') {
$twitter_status['is_activity'] = true;
}
else {