aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorMichael Meer <michael@meer.name>2014-01-30 10:21:21 +0100
committerMichael Meer <michael@meer.name>2014-01-30 10:21:21 +0100
commite5d1e20ff50f49909e7df6fe7efe0d7488e58eaa (patch)
treea3e0b7d7e1f9a4a8a2af39d5c8fad8d62f0411a3 /include/widgets.php
parentef97a454bbccbd9f7e0e63180c365ed3227fe42c (diff)
parent6c6a9b963a925d33b2cc436d877a4edc5f0d59b1 (diff)
downloadvolse-hubzilla-e5d1e20ff50f49909e7df6fe7efe0d7488e58eaa.tar.gz
volse-hubzilla-e5d1e20ff50f49909e7df6fe7efe0d7488e58eaa.tar.bz2
volse-hubzilla-e5d1e20ff50f49909e7df6fe7efe0d7488e58eaa.zip
Merge branch 'master' of https://github.com/friendica/red
to be in sync with master repro
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 8b22515b1..0151f7c27 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -580,8 +580,12 @@ function widget_menu_preview($arr) {
function widget_chatroom_list($arr) {
require_once("include/chat.php");
$r = chatroom_list(local_user());
+ $channel = get_app()->get_channel();
return replace_macros(get_markup_template('chatroomlist.tpl'),array(
'$header' => t('Chat Rooms'),
+ '$baseurl' => z_root(),
+ '$nickname' => $channel['channel_address'],
'$items' => $r,
));
-} \ No newline at end of file
+}
+