aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weechat/TODO.txt1
-rw-r--r--weechat/tomsg.c3
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;
}