diff --git a/html/app.css b/html/app.css
index 3ccb1718..f809b428 100644
--- a/html/app.css
+++ b/html/app.css
@@ -303,14 +303,14 @@ a {
background: #67C23A;
}
-.x-friend-item>.avatar.inactive::after {
- background: #FD9200;
-}
-
.x-friend-item>.avatar.joinme::after {
background: #409EFF;
}
+.x-friend-item>.avatar.askme::after {
+ background: #FD9200;
+}
+
.x-friend-item>.avatar.busy::after {
background: #F56C6C;
}
@@ -374,14 +374,14 @@ i.x-user-status.active {
background: #67C23A;
}
-i.x-user-status.inactive {
- background: #FD9200;
-}
-
i.x-user-status.joinme {
background: #409EFF;
}
+i.x-user-status.askme {
+ background: #FD9200;
+}
+
i.x-user-status.busy {
background: #F56C6C;
}
diff --git a/html/app.dark.css b/html/app.dark.css
index 24fc1b44..25c3fd14 100644
--- a/html/app.dark.css
+++ b/html/app.dark.css
@@ -278,7 +278,7 @@ For a copy, see .
background: #3e3e3e;
}
-.x-friend-item>.avatar.active::after, .x-friend-item>.avatar.joinme::after, .x-friend-item>.avatar.busy::after {
+.x-friend-item>.avatar.active::after, .x-friend-item>.avatar.joinme::after, .x-friend-item>.avatar.askme::after, .x-friend-item>.avatar.busy::after {
border: 2px solid #000;
}
diff --git a/html/app.js b/html/app.js
index 8e4b3ed6..1c62a33c 100644
--- a/html/app.js
+++ b/html/app.js
@@ -1098,7 +1098,7 @@ CefSharp.BindObjectAsync(
/*
params: {
- status: string ('active', 'join me', 'busy', 'offline'),
+ status: string ('active', 'offline', 'busy', 'ask me', 'join me'),
statusDescription: string
}
*/
@@ -3756,17 +3756,20 @@ CefSharp.BindObjectAsync(
$app.methods.userStatusClass = function (user) {
var style = {};
if (user !== undefined) {
- // due to social status, check if the user isn't currentUser
- if (user.state === 'active' &&
- user.id !== API.currentUser.id) {
- style.inactive = true;
- } else if (user.location === 'offline') {
+ if (user.location === 'offline') {
+ // Offline
style.offline = true;
} else if (user.status === 'active') {
+ // Online
style.active = true;
} else if (user.status === 'join me') {
+ // Join Me
style.joinme = true;
+ } else if (user.status === 'ask me') {
+ // Ask Me
+ style.askme = true;
} else if (user.status === 'busy') {
+ // Do Not Disturb
style.busy = true;
}
}
diff --git a/html/index.html b/html/index.html
index eda76b64..7047535f 100644
--- a/html/index.html
+++ b/html/index.html
@@ -128,9 +128,10 @@
- Active
+ Online
Join Me
- Busy
+ Ask Me
+ Do Not Disturb
Offline
@@ -140,9 +141,10 @@
- Active
+ Online
Join Me
- Busy
+ Ask Me
+ Do Not Disturb
Offline
@@ -179,9 +181,10 @@
- Active
+ Online
Join Me
- Busy
+ Ask Me
+ Do Not Disturb
Offline
@@ -585,9 +588,10 @@