From e5040f9b12704128c785c72ae9e87be9f9fce58b Mon Sep 17 00:00:00 2001 From: Kiooeht Date: Tue, 28 Jun 2011 14:46:40 -0700 Subject: [PATCH] Bug fix: Don't give a cease message when someone is absconding --- convo.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/convo.py b/convo.py index daf7bc6..0495b17 100644 --- a/convo.py +++ b/convo.py @@ -564,13 +564,13 @@ class PesterConvo(QtGui.QFrame): def updateMood(self, mood, unblocked=False, old=None): syscolor = QtGui.QColor(self.mainwindow.theme["convo/systemMsgColor"]) - if mood.name() == "offline" and self.chumopen == True and not unblocked: - self.mainwindow.ceasesound.play() - msg = self.chum.pestermsg(self.mainwindow.profile(), syscolor, self.mainwindow.theme["convo/text/ceasepester"]) - self.textArea.append(convertTags(msg)) - self.mainwindow.chatlog.log(self.title(), msg) - self.chumopen = False - elif old and old.name() != mood.name(): + #~ if mood.name() == "offline" and self.chumopen == True and not unblocked: + #~ self.mainwindow.ceasesound.play() + #~ msg = self.chum.pestermsg(self.mainwindow.profile(), syscolor, self.mainwindow.theme["convo/text/ceasepester"]) + #~ self.textArea.append(convertTags(msg)) + #~ self.mainwindow.chatlog.log(self.title(), msg) + #~ self.chumopen = False + if old and old.name() != mood.name(): msg = self.chum.moodmsg(mood, syscolor, self.mainwindow.theme) self.textArea.append(convertTags(msg)) self.mainwindow.chatlog.log(self.title(), msg)