aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-03-05 15:48:56 -0800
committerfriendica <info@friendica.com>2013-03-05 15:48:56 -0800
commitdd22e1b5824b38fa2a1455df22dbee7da2201c76 (patch)
tree735d4fe38430aa67c16a9b1eb2cbee17a8942837 /include/conversation.php
parent8d442e6fc1364ea351a9b781e8173c1b679b7a91 (diff)
downloadvolse-hubzilla-dd22e1b5824b38fa2a1455df22dbee7da2201c76.tar.gz
volse-hubzilla-dd22e1b5824b38fa2a1455df22dbee7da2201c76.tar.bz2
volse-hubzilla-dd22e1b5824b38fa2a1455df22dbee7da2201c76.zip
just tinkering and trying a few things - don't get upset. It can all be reverted it it sucks. Freedom's just another word for "nothin' left to lose" and I'm not sure it's possible to create a UI that's hated more than Friendica. So that gives us plenty of artististic license to explore some different directions and see if they lead to anything interesting.
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index e8c391967..0d539c2e2 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -658,6 +658,12 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
$conv = new Conversation($mode, $preview);
+ // In the display mode we don't have a profile owner.
+
+ if($mode === 'display' && $items)
+ $conv->set_profile_owner($items[0]['uid']);
+
+
// get all the topmost parents
// this shouldn't be needed, as we should have only them in our array
// But for now, this array respects the old style, just in case