diff --git a/include/feedutils.php b/include/feedutils.php
index be59c3c38..6d65f9fe8 100644
--- a/include/feedutils.php
+++ b/include/feedutils.php
@@ -1181,6 +1181,9 @@ function atom_entry($item,$type,$author,$owner,$comment = false,$cid = 0) {
}
+ $o .= '' . "\r\n";
+ $o .= '' . xmlify($item['parent_mid']) . '' . "\r\n";
+
if(activity_match($item['obj_type'],ACTIVITY_OBJ_EVENT) && activity_match($item['verb'],ACTIVITY_POST)) {
$obj = ((is_array($item['obj'])) ? $item['obj'] : json_decode($item['obj'],true));