forked from GNUsocial/gnu-social
Wups, $notice not $stored in the old function...
This commit is contained in:
parent
8b0fdfb4a0
commit
df19791a8f
@ -685,7 +685,7 @@ class Notice extends Managed_DataObject
|
|||||||
// Only save 'attention' and metadata stuff (URLs, tags...) stuff if
|
// Only save 'attention' and metadata stuff (URLs, tags...) stuff if
|
||||||
// the activityverb is a POST (since stuff like repeat, favorite etc.
|
// the activityverb is a POST (since stuff like repeat, favorite etc.
|
||||||
// reasonably handle notifications themselves.
|
// reasonably handle notifications themselves.
|
||||||
if (ActivityUtils::compareVerbs($stored->verb, array(ActivityVerb::POST))) {
|
if (ActivityUtils::compareVerbs($notice->verb, array(ActivityVerb::POST))) {
|
||||||
if (isset($replies)) {
|
if (isset($replies)) {
|
||||||
$notice->saveKnownReplies($replies);
|
$notice->saveKnownReplies($replies);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user