mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 01:50: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] = []
|
let s:opened_channels[protocol] = []
|
||||||
endif
|
endif
|
||||||
let s:protocol = protocol
|
let s:protocol = protocol
|
||||||
|
" after switch protocol, the current_channel should be cleared
|
||||||
|
let s:current_channel = ''
|
||||||
catch
|
catch
|
||||||
call chat#windows#push({
|
call chat#windows#push({
|
||||||
\ 'user' : '--->',
|
\ 'user' : '--->',
|
||||||
|
Loading…
Reference in New Issue
Block a user