Bug fix: Don't give a cease message when someone is absconding
This commit is contained in:
parent
8427ea8fcc
commit
e5040f9b12
1 changed files with 7 additions and 7 deletions
14
convo.py
14
convo.py
|
@ -564,13 +564,13 @@ class PesterConvo(QtGui.QFrame):
|
||||||
|
|
||||||
def updateMood(self, mood, unblocked=False, old=None):
|
def updateMood(self, mood, unblocked=False, old=None):
|
||||||
syscolor = QtGui.QColor(self.mainwindow.theme["convo/systemMsgColor"])
|
syscolor = QtGui.QColor(self.mainwindow.theme["convo/systemMsgColor"])
|
||||||
if mood.name() == "offline" and self.chumopen == True and not unblocked:
|
#~ if mood.name() == "offline" and self.chumopen == True and not unblocked:
|
||||||
self.mainwindow.ceasesound.play()
|
#~ self.mainwindow.ceasesound.play()
|
||||||
msg = self.chum.pestermsg(self.mainwindow.profile(), syscolor, self.mainwindow.theme["convo/text/ceasepester"])
|
#~ msg = self.chum.pestermsg(self.mainwindow.profile(), syscolor, self.mainwindow.theme["convo/text/ceasepester"])
|
||||||
self.textArea.append(convertTags(msg))
|
#~ self.textArea.append(convertTags(msg))
|
||||||
self.mainwindow.chatlog.log(self.title(), msg)
|
#~ self.mainwindow.chatlog.log(self.title(), msg)
|
||||||
self.chumopen = False
|
#~ self.chumopen = False
|
||||||
elif old and old.name() != mood.name():
|
if old and old.name() != mood.name():
|
||||||
msg = self.chum.moodmsg(mood, syscolor, self.mainwindow.theme)
|
msg = self.chum.moodmsg(mood, syscolor, self.mainwindow.theme)
|
||||||
self.textArea.append(convertTags(msg))
|
self.textArea.append(convertTags(msg))
|
||||||
self.mainwindow.chatlog.log(self.title(), msg)
|
self.mainwindow.chatlog.log(self.title(), msg)
|
||||||
|
|
Loading…
Reference in a new issue