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

Commit 603d2d38 authored by mattl's avatar mattl

Minor Ostatus_profile class reference fixes

parent 20bd0c11
......@@ -941,7 +941,7 @@ class Ostatus_profile extends Managed_DataObject
// Is the recipient a remote user or group?
try {
$oprofile = Ostatus_profile::ensureProfileURI($recipient);
$oprofile = self::ensureProfileURI($recipient);
if ($oprofile->isGroup()) {
// Deliver to local members of this remote group.
// @todo FIXME: Sender verification?
......@@ -2087,7 +2087,7 @@ class Ostatus_profile extends Managed_DataObject
// If unfound, do discovery stuff
if (empty($oprofile)) {
if (!$oprofile instanceof Ostatus_profile) {
if (preg_match("/^(\w+)\:(.*)/", $uri, $match)) {
$protocol = $match[1];
switch ($protocol) {
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