user dialog platform

This commit is contained in:
Natsumi
2025-07-29 17:47:56 +12:00
parent 601f6fcf80
commit ab1529a800
3 changed files with 14 additions and 15 deletions

View File

@@ -126,16 +126,9 @@ function userStatusClass(user, pendingOffline = false) {
style.busy = true;
}
if (
user.platform &&
user.platform !== 'standalonewindows' &&
user.platform !== 'web'
) {
style.mobile = true;
}
if (
user.last_platform &&
user.last_platform !== 'standalonewindows' &&
user.platform === 'web'
user.$platform &&
user.$platform !== 'standalonewindows' &&
user.$platform !== 'web'
) {
style.mobile = true;
}