Porting room

This commit is contained in:
Yoann Celton 2018-12-02 21:57:02 +11:00
commit 889c16363d
4 changed files with 904 additions and 9 deletions

View file

@ -789,7 +789,7 @@ class MatrixHttpApi {
* @throws MatrixHttpLibException
* @throws MatrixRequestException
*/
public function addUserTag(string $userId, string $roomId, string $tag, ?float $order, array $body = []) {
public function addUserTag(string $userId, string $roomId, string $tag, ?float $order = null, array $body = []) {
if ($order) {
$body['order'] = $order;
}