Update prompt when own nick changes

weechat-hashes
C. McEnroe 2020-02-10 01:29:30 -05:00
parent 665b6912dc
commit fabb89077d
1 changed files with 1 additions and 0 deletions

View File

@ -269,6 +269,7 @@ static void handleNick(struct Message *msg) {
require(msg, true, 1);
if (self.nick && !strcmp(msg->nick, self.nick)) {
set(&self.nick, msg->params[0]);
uiRead(); // Update prompt.
}
size_t id;
while (None != (id = completeID(msg->nick))) {