We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit a28a6d2f authored by Evan Prodromou's avatar Evan Prodromou

fixup bad class constant in Notice

parent 7f2f3335
...@@ -507,7 +507,7 @@ class Notice extends Managed_DataObject ...@@ -507,7 +507,7 @@ class Notice extends Managed_DataObject
if (empty($verb)) { if (empty($verb)) {
if (!empty($notice->repeat_of)) { if (!empty($notice->repeat_of)) {
$notice->verb = ActivityVerb::SHARE; $notice->verb = ActivityVerb::SHARE;
$notice->object_type = ActivityVerb::ACTIVITY; $notice->object_type = ActivityObject::ACTIVITY;
} else { } else {
$notice->verb = ActivityVerb::POST; $notice->verb = ActivityVerb::POST;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment