missing element in new chatroom link

This commit is contained in:
friendica 2014-02-06 23:10:14 -08:00
parent b779400218
commit cda1224066

View File

@ -79,6 +79,9 @@ function chat_post(&$a) {
function chat_content(&$a) {
if(local_user())
$channel = $a->get_channel();
$observer = get_observer_hash();
if(! $observer) {
notice( t('Permission denied.') . EOL);
@ -129,7 +132,7 @@ function chat_content(&$a) {
if(local_user() && argc() > 2 && argv(2) === 'new') {
$channel = $a->get_channel();
$channel_acl = array(
'allow_cid' => $channel['channel_allow_cid'],
'allow_gid' => $channel['channel_allow_gid'],