aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
authorJohn Hernandez <129467592+H3rnand3zzz@users.noreply.github.com>2023-04-04 00:06:04 +0200
committerJohn Hernandez <129467592+H3rnand3zzz@users.noreply.github.com>2023-04-10 11:04:20 +0200
commit0740d692dc401dd8614fcbc9f628086279ca3c93 (patch)
tree25184bded131a66afd30a25566afb1d6379392b3 /src/command
parent54cf152130fe7829740a20780533ca2c8d957135 (diff)
downloadprofani-tty-0740d692dc401dd8614fcbc9f628086279ca3c93.tar.gz
Improve titlebar flexibility
Before this change, only nickname or JID (if no nickname set) is shown in the titlebar. Change allows to alter nickname/JID preference using already implemented /titlebar show jid|name setting. If both are set to "show", then it is displayed in "nickname <JID>" format.
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_defs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index b985464f..574b9656 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -1260,8 +1260,8 @@ static const struct cmd_t command_defs[] = {
{ "show tls", "Show or hide TLS indicator in the titlebar." },
{ "show encwarn", "Enable or disable the unencrypted warning message in the titlebar." },
{ "show resource", "Show or hide the current resource in the titlebar." },
- { "show name", "In case of a MUC. Show the MUC name in the titlebar." },
- { "show jid", "In case of a MUC. Show the JID in the titlebar." })
+ { "show name", "Show the nickname or MUC name in the titlebar." },
+ { "show jid", "Show the JID in the titlebar." })
CMD_EXAMPLES(
"/titlebar up",
"/titlebar show tls",