1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:40:06 +08:00

fix(chat): clear current_channel

This commit is contained in:
wsdjeg 2022-05-07 23:03:33 +08:00
parent 786c61b171
commit a741ad57aa

View File

@ -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' : '--->',