aboutsummaryrefslogtreecommitdiffstats
path: root/mod/chat.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-04-06 03:47:53 -0700
committerfriendica <info@friendica.com>2014-04-06 03:47:53 -0700
commit64dfe3ab64a7f39c2c88d141a7d8a8b9d60756ff (patch)
treed7d10dfec58c11ee8b44feb2141b971c36c38532 /mod/chat.php
parentad60e2c566930409d853517ca9392f169fc8e747 (diff)
downloadvolse-hubzilla-64dfe3ab64a7f39c2c88d141a7d8a8b9d60756ff.tar.gz
volse-hubzilla-64dfe3ab64a7f39c2c88d141a7d8a8b9d60756ff.tar.bz2
volse-hubzilla-64dfe3ab64a7f39c2c88d141a7d8a8b9d60756ff.zip
issue #395, item 2
Diffstat (limited to 'mod/chat.php')
-rw-r--r--mod/chat.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/chat.php b/mod/chat.php
index 0f2b94b9d..e007b50a8 100644
--- a/mod/chat.php
+++ b/mod/chat.php
@@ -145,6 +145,7 @@ function chat_content(&$a) {
if(argc() > 2 && intval(argv(2))) {
+
$room_id = intval(argv(2));
$bookmark_link = get_bookmark_link($ob);
@@ -210,12 +211,13 @@ function chat_content(&$a) {
+ require_once('include/conversation.php');
-
+ $o = profile_tabs($a,((local_user() && local_user() == $a->profile['profile_uid']) ? true : false));
require_once('include/widgets.php');
- $o = replace_macros(get_markup_template('chatrooms.tpl'), array(
+ $o .= replace_macros(get_markup_template('chatrooms.tpl'), array(
'$header' => sprintf( t('%1$s\'s Chatrooms'), $a->profile['name']),
'$baseurl' => z_root(),
'$nickname' => $channel['channel_address'],