]> git.mxchange.org Git - friendica.git/commitdiff
imported event should not have wall flag set
authorFriendika <info@friendika.com>
Fri, 17 Jun 2011 01:11:00 +0000 (18:11 -0700)
committerFriendika <info@friendika.com>
Fri, 17 Jun 2011 01:11:00 +0000 (18:11 -0700)
include/event.php

index 9d4a8df5973997e2bf10e8824164d225839cce76..8078a9a5ed1ea3ad76e1b7b9d50366f7c0f1b0d3 100644 (file)
@@ -308,7 +308,7 @@ function event_store($arr) {
                $item_arr['uri']           = $arr['uri'];
                $item_arr['parent-uri']    = $arr['uri'];
                $item_arr['type']          = 'activity';
-               $item_arr['wall']          = 1;
+               $item_arr['wall']          = (($arr['cid']) ? 0 : 1);
                $item_arr['contact-id']    = $contact['id'];
                $item_arr['owner-name']    = $contact['name'];
                $item_arr['owner-link']    = $contact['url'];