]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Message.php
Converted all ActivityObject::fromProfile to $profile->asActivityObject
[quix0rs-gnu-social.git] / classes / Message.php
index 211284ecec86ab7dcde197d7523416a893c58ff3..bc25b1b0b3acfd15e0727e3e6ebe6594e4b12777 100644 (file)
@@ -183,7 +183,7 @@ class Message extends Managed_DataObject
                 throw new Exception(sprintf("Sender profile not found: %d", $this->from_profile));
             }
             
-            $act->actor            = ActivityObject::fromProfile($profile);
+            $act->actor            = $profile->asActivityObject();
             $act->actor->extra[]   = $profile->profileInfo(null);
 
             $act->verb = ActivityVerb::POST;