Fix isStatus (#2108)

* Fix isStatus

* Fiz isStatus
This commit is contained in:
Gabryel Rigol 2023-04-09 09:22:56 -04:00 • committed by GitHub
commit f8cfc7889c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,7 +109,7 @@ class Message extends Base {
* Indicates if the message is a status update
* @type {boolean}
*/
this.isStatus = data.isStatusV3;
this.isStatus = data.isStatusV3 || data.id.remote === 'status@broadcast';
/**
* Indicates if the message was starred