mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 20:20:05 +08:00
fix(chat): clear current_channel
This commit is contained in:
parent
786c61b171
commit
a741ad57aa
@ -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' : '--->',
|
||||
|
Loading…
Reference in New Issue
Block a user