Respect hotlist clearing setting on buffer switch & message send
Fixes #1035
This commit is contained in:
parent
7ecd6c0c16
commit
0a919f70fb
@ -520,7 +520,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
|||||||
// the messages in this buffer before you switched to the new one
|
// the messages in this buffer before you switched to the new one
|
||||||
// this is only needed with new type of clearing since in the old
|
// this is only needed with new type of clearing since in the old
|
||||||
// way WeeChat itself takes care of that part
|
// way WeeChat itself takes care of that part
|
||||||
if (models.version[0] >= 1) {
|
if (settings.hotlistsync && models.version[0] >= 1) {
|
||||||
connection.sendHotlistClear();
|
connection.sendHotlistClear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@ weechat.directive('inputBar', function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// New style clearing requires this, old does not
|
// New style clearing requires this, old does not
|
||||||
if (models.version[0] >= 1) {
|
if (settings.hotlistsync && models.version[0] >= 1) {
|
||||||
connection.sendHotlistClear();
|
connection.sendHotlistClear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user