aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-25 18:57:04 -0700
committerfriendica <info@friendica.com>2012-07-25 18:57:04 -0700
commitfc53a7a09ed16504ae88b064640c91882c34ef8b (patch)
treebe792b3af939592331f933f0323665a8adb80121 /mod
parent78b8684ab4202d62d815ad2dbef3d1b620cef3ef (diff)
downloadvolse-hubzilla-fc53a7a09ed16504ae88b064640c91882c34ef8b.tar.gz
volse-hubzilla-fc53a7a09ed16504ae88b064640c91882c34ef8b.tar.bz2
volse-hubzilla-fc53a7a09ed16504ae88b064640c91882c34ef8b.zip
recover existing conversation loading functionality for home,search,community,display,etc. whilst working on the ajax stuff in network
Diffstat (limited to 'mod')
-rw-r--r--mod/item.php4
-rw-r--r--mod/network.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/item.php b/mod/item.php
index 5c3a0d888..87f7f75d9 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -604,8 +604,8 @@ function item_post(&$a) {
if($preview) {
require_once('include/conversation.php');
- $o = conversation($a,array(array_merge($contact_record,$datarray)),'search',false,true);
- logger('preview: ' . $o);
+ $o = conversation($a,array(array_merge($contact_record,$datarray)),'search',false,'preview');
+ logger('preview: ' . $o, LOGGER_DEBUG);
echo json_encode(array('preview' => $o));
killme();
}
diff --git a/mod/network.php b/mod/network.php
index b740ed2a4..7e1bfdcda 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -712,7 +712,7 @@ logger('items: ' . count($items));
$mode = (($nouveau) ? 'network-new' : 'network');
- $o .= conversation($a,$items,$mode,$update);
+ $o .= conversation($a,$items,$mode,$update,'client');
if(! $update) {
$o .= alt_pager($a,count($items));