aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-01-10 17:47:11 -0800
committerfriendica <info@friendica.com>2012-01-10 17:47:11 -0800
commitcf7008e57509b271dccd6971f3bef46ace8a9687 (patch)
treed048c9416af3f7394d99f2fa4bcf280506ed226f /include/conversation.php
parent375cb82124aae2faac9f44b93b63b2f056871a0b (diff)
downloadvolse-hubzilla-cf7008e57509b271dccd6971f3bef46ace8a9687.tar.gz
volse-hubzilla-cf7008e57509b271dccd6971f3bef46ace8a9687.tar.bz2
volse-hubzilla-cf7008e57509b271dccd6971f3bef46ace8a9687.zip
post preview to loozah
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 293c5a84a..6f235f701 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -170,6 +170,10 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
load_contact_links(local_user());
+ $cb = array('items' => $items, 'mode' => $mode, 'update' => $update, 'preview' => $preview);
+ call_hooks('conversation_start',$cb);
+
+ $items = $cb['items'];
$cmnt_tpl = get_markup_template('comment_item.tpl');
$tpl = get_markup_template('wall_item.tpl');