dont expect emote to have deskmod
This commit is contained in:
parent
d70f834b4d
commit
7a61669192
@ -2439,7 +2439,7 @@ class GUI(QtGui.QWidget):
|
|||||||
if "deskmod" in self.features:
|
if "deskmod" in self.features:
|
||||||
if emote[3] == '5': # Zoom forcibly hides the desk
|
if emote[3] == '5': # Zoom forcibly hides the desk
|
||||||
msg += "0#"
|
msg += "0#"
|
||||||
elif emote[7]: # Respect deskmod if found
|
elif len(emote) > 7 and emote[7]: # Respect deskmod if found
|
||||||
msg += "%s#" % str(emote[7])
|
msg += "%s#" % str(emote[7])
|
||||||
else:
|
else:
|
||||||
msg += "%d#" % self.deskbtn.isChecked()
|
msg += "%d#" % self.deskbtn.isChecked()
|
||||||
|
Loading…
Reference in New Issue
Block a user