import and sync chatrooms

This commit is contained in:
redmatrix
2015-09-03 18:44:40 -07:00
parent d93e1c84ac
commit d79e81a069
6 changed files with 114 additions and 4 deletions

View File

@@ -91,6 +91,8 @@ function chatroom_destroy($channel,$arr) {
return $ret;
}
create_sync_packet($channel['channel_id'],array('chatroom' => $r));
q("delete from chatroom where cr_id = %d",
intval($r[0]['cr_id'])
);