aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-04-03 11:34:07 +0200
committerMario Vavti <mario@mariovavti.com>2016-04-03 11:34:07 +0200
commitb8d8be701382b72b3556ff9a3d67aabfc85223f5 (patch)
treea96829e583be982f9cc9bd92c066b8816ae1d294 /include
parente361ee9253d0a235a6b54fae1a1d6a25a6541342 (diff)
downloadvolse-hubzilla-b8d8be701382b72b3556ff9a3d67aabfc85223f5.tar.gz
volse-hubzilla-b8d8be701382b72b3556ff9a3d67aabfc85223f5.tar.bz2
volse-hubzilla-b8d8be701382b72b3556ff9a3d67aabfc85223f5.zip
show chat expiration time in overview and minor fixes
Diffstat (limited to 'include')
-rw-r--r--include/chat.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/chat.php b/include/chat.php
index 8a5970cca..604402045 100644
--- a/include/chat.php
+++ b/include/chat.php
@@ -202,7 +202,7 @@ function chatroom_list($uid) {
require_once('include/security.php');
$sql_extra = permissions_sql($uid);
- $r = q("select allow_cid, allow_gid, deny_cid, deny_gid, cr_name, cr_id, count(cp_id) as cr_inroom from chatroom left join chatpresence on cr_id = cp_room where cr_uid = %d $sql_extra group by cr_name, cr_id order by cr_name",
+ $r = q("select allow_cid, allow_gid, deny_cid, deny_gid, cr_name, cr_expire, cr_id, count(cp_id) as cr_inroom from chatroom left join chatpresence on cr_id = cp_room where cr_uid = %d $sql_extra group by cr_name, cr_id order by cr_name",
intval($uid)
);