refactor: remove unnecessary checks (#6777)

This commit is contained in:
Bas950
2021-10-08 12:35:24 +02:00
committed by GitHub
parent d399a28323
commit e24209a8b1
7 changed files with 17 additions and 22 deletions

View File

@@ -45,7 +45,7 @@ class Message extends Base {
*/
this.deleted = false;
if (data) this._patch(data);
this._patch(data);
}
_patch(data) {