hannes making sure notice is a repeat and not a delete activity notice
// XXX: not really a pkey, but should work
$notice = Notice::pkeyGet(array('profile_id' => $this->id,
- 'repeat_of' => $notice->id));
+ 'repeat_of' => $notice->id,
+ 'verb' => ActivityVerb::SHARE));
return !empty($notice);
}
{
return $this->getUser()->getConnectedApps($offset, $limit);
}
-}
+}
\ No newline at end of file
if ($status['repeated'] === true) {
// Qvitter API wants the "repeated_id" value set too.
$repeated = Notice::pkeyGet(array('profile_id' => $scoped->getID(),
- 'repeat_of' => $notice->getID()));
+ 'repeat_of' => $notice->getID(),
+ 'verb' => ActivityVerb::SHARE));
$status['repeated_id'] = $repeated->getID();
}
}
return true;
}
-}
+}
\ No newline at end of file