From e3820d7037a63ff3e09ed84f518dfb7b67f3982f Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 10 Apr 2023 20:22:40 +0200 Subject: [PATCH] Add limitation info about /statusbar chat user|jid While testing https://github.com/profanity-im/profanity/pull/1817 we found that: ``` /statusbar show name (I have this off by default /msg someone where I chose someone in my roster that has a nick assigned /statusbar chat jid ``` Will only take effect upon creation or redraw of that tab. Reason is that we do this in create_tab to limit building this dynamically. Let's leave it like it is but add a note to users. Not worth build that string all the time. --- src/command/cmd_defs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 574b9656..12ebf4a1 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -1310,7 +1310,7 @@ static const struct cmd_t command_defs[] = { { "show|hide read", "Show or hide inactive tabs." }, { "self user|barejid|fulljid", "Show account user name, barejid, fulljid as status bar title." }, { "self off", "Disable showing self as status bar title." }, - { "chat user|jid", "Show users name, or the fulljid if no nick is present for chat tabs." }, + { "chat user|jid", "Show users name, or fulljid. Change needs a redraw/restart to take effect." }, { "room room|jid", "Show room name, or the fulljid for room tabs." }, { "up", "Move the status bar up the screen." }, { "down", "Move the status bar down the screen." })