reformat and cleanup; Add auth error to response on internal login(debug)

This commit is contained in:
2018-03-08 11:46:33 +01:00
parent d5f2b05d4d
commit 6b98ac4ae7
3 changed files with 20 additions and 30 deletions

View File

@@ -127,9 +127,7 @@ class MatrixMessage
private $message;
function __construct() {
$this->message = array(
"msgtype" => "m.notice",
);
$this->message = ["msgtype" => "m.notice"];
}
function set_type($msgtype) {