From 65439a8ad2802ae3634d2b41e17bbaf2637e69e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Sat, 28 Mar 2020 16:15:37 +0100 Subject: [PATCH] Only show "user has left the room" toast in channels Fixes #1108 --- js/inputbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/inputbar.js b/js/inputbar.js index 656a4a7..95b710d 100644 --- a/js/inputbar.js +++ b/js/inputbar.js @@ -220,7 +220,7 @@ weechat.directive('inputBar', function() { // Check whether the user is still online var buffer = models.getBuffer(bufferline.buffer); var is_online = buffer.queryNicklist(nick); - if (!is_online) { + if (buffer.type === 'channel' && !is_online) { // show a toast that the user left var toast = document.createElement('div'); toast.id = "toast";