]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Repeats were not delivered a conversation ID
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 4 Jun 2014 21:21:37 +0000 (23:21 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 4 Jun 2014 21:21:37 +0000 (23:21 +0200)
Vinilox noticed that replies to repeats ended up outside of the original
notice's conversations.

classes/Notice.php

index 461e8f9aabdfc941967ba4a9a731e6b4beef7238..c6ae3c915517794607d102cba29d1a73c5d98052 100644 (file)
@@ -507,7 +507,8 @@ class Notice extends Managed_DataObject
                 throw new ClientException(_('You already repeated that notice.'));
             }
 
-            $notice->repeat_of = $repeat_of;
+            $notice->repeat_of = $repeat->id;
+            $notice->conversation = $repeat->conversation;
         } else {
             $reply = null;