Make the '/away' command really set the status to away (not unavailable).
This commit is contained in:
Родитель
c49f3b0185
Коммит
a5336f3885
|
@ -251,7 +251,8 @@ var buddyList = {
|
|||
let statusType = pcs.currentStatusType;
|
||||
if (statusType == Ci.purpleICoreService.STATUS_AVAILABLE)
|
||||
status = "available";
|
||||
else if (statusType == Ci.purpleICoreService.STATUS_UNAVAILABLE)
|
||||
else if (statusType == Ci.purpleICoreService.STATUS_UNAVAILABLE ||
|
||||
statusType == Ci.purpleICoreService.STATUS_AWAY)
|
||||
status = "unavailable";
|
||||
else if (statusType == Ci.purpleICoreService.STATUS_OFFLINE)
|
||||
status = "offline";
|
||||
|
|
|
@ -192,7 +192,8 @@ var menus = {
|
|||
let statusType = pcs.currentStatusType;
|
||||
if (statusType == Ci.purpleICoreService.STATUS_AVAILABLE)
|
||||
status = "available";
|
||||
else if (statusType == Ci.purpleICoreService.STATUS_UNAVAILABLE)
|
||||
else if (statusType == Ci.purpleICoreService.STATUS_UNAVAILABLE ||
|
||||
statusType == Ci.purpleICoreService.STATUS_AWAY)
|
||||
status = "unavailable";
|
||||
else if (statusType == Ci.purpleICoreService.STATUS_OFFLINE)
|
||||
status = "offline";
|
||||
|
|
Загрузка…
Ссылка в новой задаче