parent
1ba1698703
commit
71c2900216
2 changed files with 6 additions and 0 deletions
|
@ -420,6 +420,10 @@ weechat.factory('connection',
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var sendHotlistClearAll = function() {
|
||||||
|
sendMessage("/input hotlist_clear");
|
||||||
|
};
|
||||||
|
|
||||||
var requestNicklist = function(bufferId, callback) {
|
var requestNicklist = function(bufferId, callback) {
|
||||||
// Prevent requesting nicklist for all buffers if bufferId is invalid
|
// Prevent requesting nicklist for all buffers if bufferId is invalid
|
||||||
if (!bufferId) {
|
if (!bufferId) {
|
||||||
|
@ -513,6 +517,7 @@ weechat.factory('connection',
|
||||||
sendMessage: sendMessage,
|
sendMessage: sendMessage,
|
||||||
sendCoreCommand: sendCoreCommand,
|
sendCoreCommand: sendCoreCommand,
|
||||||
sendHotlistClear: sendHotlistClear,
|
sendHotlistClear: sendHotlistClear,
|
||||||
|
sendHotlistClearAll: sendHotlistClearAll,
|
||||||
fetchMoreLines: fetchMoreLines,
|
fetchMoreLines: fetchMoreLines,
|
||||||
requestNicklist: requestNicklist,
|
requestNicklist: requestNicklist,
|
||||||
attemptReconnect: attemptReconnect
|
attemptReconnect: attemptReconnect
|
||||||
|
|
|
@ -364,6 +364,7 @@ weechat.directive('inputBar', function() {
|
||||||
buffer.unread = 0;
|
buffer.unread = 0;
|
||||||
buffer.notification = 0;
|
buffer.notification = 0;
|
||||||
});
|
});
|
||||||
|
connection.sendHotlistClearAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
var caretPos;
|
var caretPos;
|
||||||
|
|
Loading…
Add table
Reference in a new issue