aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-25 18:41:48 -0700
committerFriendika <info@friendika.com>2011-07-25 18:41:48 -0700
commitc0749f18d62e9d9fa53a3a60ba580dadffc0ab1b (patch)
treee923feb25d689d44f890edca971f7084341b61df /include/conversation.php
parent21058cdb471cb515e49b1a8a5c4fb3e0718d7a74 (diff)
downloadvolse-hubzilla-c0749f18d62e9d9fa53a3a60ba580dadffc0ab1b.tar.gz
volse-hubzilla-c0749f18d62e9d9fa53a3a60ba580dadffc0ab1b.tar.bz2
volse-hubzilla-c0749f18d62e9d9fa53a3a60ba580dadffc0ab1b.zip
event ownership issues
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 82a107c07..50032cd36 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -347,7 +347,7 @@ function conversation(&$a, $items, $mode, $update) {
if(($toplevelpost) && (! $item['self']) && ($mode !== 'profile')) {
- if($item['type'] === 'wall') {
+ if($item['wall']) {
// On the network page, I am the owner. On the display page it will be the profile owner.
// This will have been stored in $a->page_contact by our calling page.
@@ -359,7 +359,7 @@ function conversation(&$a, $items, $mode, $update) {
$template = $wallwall;
$commentww = 'ww';
}
- if(($item['type'] === 'remote') && (strlen($item['owner-link'])) && ($item['owner-link'] != $item['author-link'])) {
+ if((! $item['wall']) && (strlen($item['owner-link'])) && ($item['owner-link'] != $item['author-link'])) {
// Could be anybody.