more testing of chatroom interfaces, also corrected a function call that should have been a class instantiation in reddav

This commit is contained in:
friendica
2014-01-29 16:02:02 -08:00
parent 1915add7c1
commit 677f5f641e
4 changed files with 7 additions and 4 deletions

View File

@@ -580,8 +580,11 @@ 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,
));
}