primitivus: change behavior of commands ":presence" and ":status" :
- ":presence " and ":status " open a dialog (like if you type it without the trailing space)
- you need to type ":presence online" to directly reset your presence (was done with ":presence " before)
- there's no more way to directly set an empty status (you now do it via the dialog)
This commit is contained in:
parent
5f1c2d3a49
commit
261d5296d4
1 changed files with 15 additions and 9 deletions
|
|
@ -40,13 +40,13 @@ def getPresence():
|
|||
("chat", _("Free for chat")),
|
||||
("away", _("Away from keyboard")),
|
||||
("dnd", _("Do not disturb")),
|
||||
("xa", _("Away"))])
|
||||
("xa", _("Extended away"))])
|
||||
except TypeError:
|
||||
presence = {"": _("Online"),
|
||||
"chat": _("Free for chat"),
|
||||
"away": _("Away from keyboard"),
|
||||
"dnd": _("Do not disturb"),
|
||||
"xa": _("Away")
|
||||
"xa": _("Extended away")
|
||||
}
|
||||
return presence
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue