aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-22 20:54:52 -0700
committerredmatrix <git@macgirvin.com>2016-05-22 20:54:52 -0700
commit1aa3051e977dceb04fbe656763d8ef8a9803a571 (patch)
tree01fdd05a9f0d8359595e43aa1e665c20205216ae /include/conversation.php
parent20f444f5f2ff929fc43f1a9459510dad084ab030 (diff)
downloadvolse-hubzilla-1aa3051e977dceb04fbe656763d8ef8a9803a571.tar.gz
volse-hubzilla-1aa3051e977dceb04fbe656763d8ef8a9803a571.tar.bz2
volse-hubzilla-1aa3051e977dceb04fbe656763d8ef8a9803a571.zip
move chatroom stuff to zlib
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index ca73a7a07..f405bc9d5 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1658,8 +1658,7 @@ function profile_tabs($a, $is_owner = false, $nickname = null){
if ($p['chat'] && feature_enabled($uid,'ajaxchat')) {
- require_once('include/chat.php');
- $has_chats = chatroom_list_count($uid);
+ $has_chats = Zotlabs\Lib\Chatroom::list_count($uid);
if ($has_chats) {
$tabs[] = array(
'label' => t('Chatrooms'),