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

Commit e7ad9bf1 authored by Evan Prodromou's avatar Evan Prodromou

ensure a shared item's author element

parent 383f14c7
......@@ -525,9 +525,11 @@ class Ostatus_profile extends Managed_DataObject
throw new ClientException(_m("Can only handle shared activities."));
$other = Ostatus_profile::ensureActivityObjectProfile($shared->actor);
// Save the item (or check for a dupe)
$this->processActivity($shared, $method);
$other->processActivity($shared, $method);
// XXX: process*() should return the new or existing notice. They don't, so we have to
// go fishing for it now.
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