From a741ad57aa70c67377cd157b6a11463a683708f2 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sat, 7 May 2022 23:03:33 +0800 Subject: [PATCH] fix(chat): clear current_channel --- bundle/vim-chat/autoload/chat/windows.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundle/vim-chat/autoload/chat/windows.vim b/bundle/vim-chat/autoload/chat/windows.vim index fc86dc10d..a7eaabddb 100644 --- a/bundle/vim-chat/autoload/chat/windows.vim +++ b/bundle/vim-chat/autoload/chat/windows.vim @@ -475,6 +475,8 @@ function! s:enter() abort let s:opened_channels[protocol] = [] endif let s:protocol = protocol + " after switch protocol, the current_channel should be cleared + let s:current_channel = '' catch call chat#windows#push({ \ 'user' : '--->',