Wups, $notice not $stored in the old function...

This commit is contained in:
Mikael Nordfeldth 2015-12-31 02:37:42 +01:00
parent 8b0fdfb4a0
commit df19791a8f

View File

@ -685,7 +685,7 @@ class Notice extends Managed_DataObject
// Only save 'attention' and metadata stuff (URLs, tags...) stuff if
// the activityverb is a POST (since stuff like repeat, favorite etc.
// reasonably handle notifications themselves.
if (ActivityUtils::compareVerbs($stored->verb, array(ActivityVerb::POST))) {
if (ActivityUtils::compareVerbs($notice->verb, array(ActivityVerb::POST))) {
if (isset($replies)) {
$notice->saveKnownReplies($replies);
} else {