git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 603d2d38 authored by mmn's avatar mmn

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