From 916ae0bd1360a2115c99f9647db9f58b8349dbc8 Mon Sep 17 00:00:00 2001 From: yorick-ne Date: Sun, 7 Feb 2016 08:06:34 +0100 Subject: [PATCH] Dont ping window when participant of a pm chat leaves --- src/chat/channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/channel.py b/src/chat/channel.py index d4b821633..739133912 100644 --- a/src/chat/channel.py +++ b/src/chat/channel.py @@ -234,7 +234,7 @@ def printLine(self, name, text, scroll_forced=False, formatter=Formatters.FORMAT # Play a ping sound and flash the title under certain circumstances mentioned = text.find(self.lobby.client.login) != -1 - if self.private or mentioned: + if mentioned or (self.private and not (formatter is Formatters.FORMATTER_RAW and text=="quit.")): self.pingWindow() avatar = None