1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/sources/app/widgets/Help/Help.php
2015-12-15 11:54:49 +01:00

30 lines
531 B
PHP

<?php
class Help extends WidgetBase
{
function load()
{
}
function ajaxAddChatroom()
{
$r = new Rooms;
$r->ajaxChatroomAdd(
array(
'jid' => 'movim@conference.movim.eu',
'name'=> 'Movim Chatroom',
'nick' => false,
'autojoin' => 0
)
);
$r->ajaxJoin('movim@conference.movim.eu');
RPC::call('movim_redirect', $this->route('chat'));
}
function display()
{
}
}