Move readmarker too when using new style
This commit is contained in:
parent
d0cabde132
commit
2fa229851b
|
@ -270,6 +270,8 @@ weechat.factory('connection',
|
||||||
if (parseInt(models.version.charAt(0)) >= 1) {
|
if (parseInt(models.version.charAt(0)) >= 1) {
|
||||||
// WeeChat >= 1 supports clearing hotlist with this command
|
// WeeChat >= 1 supports clearing hotlist with this command
|
||||||
sendMessage('/buffer set hotlist -1');
|
sendMessage('/buffer set hotlist -1');
|
||||||
|
// Also move read marker
|
||||||
|
sendMessage('/input set_unread_current_buffer');
|
||||||
} else {
|
} else {
|
||||||
// If user wants to sync hotlist with weechat
|
// If user wants to sync hotlist with weechat
|
||||||
// we will send a /buffer bufferName command every time
|
// we will send a /buffer bufferName command every time
|
||||||
|
|
Loading…
Reference in a new issue