diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-04-09 19:38:04 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-04-09 19:39:05 +0200 |
commit | 915529d323dbb903cd702436ba4e083e80187972 (patch) | |
tree | 01d948db33e10c0506c8c54482e36f2cd6090fca | |
parent | 183769d56c95b4628bdd815d3cffd5543a6f299a (diff) |
weechat: Show nickname in input bar
-rw-r--r-- | weechat/TODO.txt | 1 | ||||
-rw-r--r-- | weechat/tomsg.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/weechat/TODO.txt b/weechat/TODO.txt index 08b4c3b..7f8db51 100644 --- a/weechat/TODO.txt +++ b/weechat/TODO.txt @@ -1,2 +1 @@ -- nick in prompt - buffer_set(buffer, "notify", "2") on chats with 2 people diff --git a/weechat/tomsg.c b/weechat/tomsg.c index 83b8e17..c860aea 100644 --- a/weechat/tomsg.c +++ b/weechat/tomsg.c @@ -108,6 +108,9 @@ static void create_room_buffer(struct roomdata *room){ weechat_buffer_set(room->buffer,"nicklist","1"); weechat_buffer_set(room->buffer,"nicklist_case_sensitive","1"); weechat_buffer_set(room->buffer,"nicklist_display_groups","0"); + if(room->conn->username){ + weechat_buffer_set(room->buffer,"localvar_set_nick",room->conn->username); + } room->buffer_nickgroup=NULL; } |