move chatroom stuff to zlib

This commit is contained in:
redmatrix
2016-05-22 20:54:52 -07:00
parent 20f444f5f2
commit 1aa3051e97
6 changed files with 288 additions and 281 deletions

View File

@@ -834,8 +834,7 @@ function widget_menu_preview($arr) {
function widget_chatroom_list($arr) {
require_once("include/chat.php");
$r = chatroom_list(App::$profile['profile_uid']);
$r = Zotlabs\Lib\Chatroom::roomlist(App::$profile['profile_uid']);
if($r) {
return replace_macros(get_markup_template('chatroomlist.tpl'), array(