parent
0c21d5aca5
commit
65439a8ad2
@ -220,7 +220,7 @@ weechat.directive('inputBar', function() {
|
|||||||
// Check whether the user is still online
|
// Check whether the user is still online
|
||||||
var buffer = models.getBuffer(bufferline.buffer);
|
var buffer = models.getBuffer(bufferline.buffer);
|
||||||
var is_online = buffer.queryNicklist(nick);
|
var is_online = buffer.queryNicklist(nick);
|
||||||
if (!is_online) {
|
if (buffer.type === 'channel' && !is_online) {
|
||||||
// show a toast that the user left
|
// show a toast that the user left
|
||||||
var toast = document.createElement('div');
|
var toast = document.createElement('div');
|
||||||
toast.id = "toast";
|
toast.id = "toast";
|
||||||
|
Loading…
Reference in New Issue
Block a user