fix: change ordering when resolving presence

This commit is contained in:
Paul Makles
2023-05-19 21:32:55 +01:00
parent d0c8a42603
commit e77681a215
+1 -1
View File
@@ -131,7 +131,7 @@ export class User {
* Presence
*/
get presence() {
return this.status?.presence ?? (this.online ? "Online" : "Invisible");
return this.online ? this.status?.presence ?? "Online" : "Invisible";
}
/**