]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix for replies in Yammer import
authorBrion Vibber <brion@pobox.com>
Tue, 21 Sep 2010 23:19:02 +0000 (16:19 -0700)
committerBrion Vibber <brion@pobox.com>
Tue, 28 Sep 2010 14:44:21 +0000 (07:44 -0700)
plugins/YammerImport/yammerimporter.php

index 15970d0729b01ce1e74f12cdf3b8d0de5607f012..ae0037ffee306ce30cce3287f6618d617460054c 100644 (file)
@@ -200,9 +200,9 @@ class YammerImporter
         $options = array();
 
         if ($item['replied_to_id']) {
-            $replyto = $this->findImportedNotice($item['replied_to_id']);
-            if ($replyto) {
-                $options['replyto'] = $replyto;
+            $replyTo = $this->findImportedNotice($item['replied_to_id']);
+            if ($replyTo) {
+                $options['reply_to'] = $replyTo;
             }
         }
         $options['created'] = $this->timestamp($item['created_at']);