diff --git a/client/view/img/homer.gif b/client/view/img/homer.gif
new file mode 100644
index 0000000..646f0ed
Binary files /dev/null and b/client/view/img/homer.gif differ
diff --git a/client/view/start.py b/client/view/start.py
index 2e1ed5b..726791d 100755
--- a/client/view/start.py
+++ b/client/view/start.py
@@ -103,6 +103,11 @@ class privateMessage () :
sb.setValue(sb.maximum())
def ShowMessageAsTextPm(self,txt) :
+
+ if txt.split(" ")[0] == "SUCC_PRIVATE_DISCUSSION_ACCEPTED ":
+ self.message_buffer2 += '
Chalange Accepted ! '
+
+
if txt.split(" ")[0] == "NEW_MSG" :
self.message_buffer2 += '
' + self.getTimeStamp() + ' < '+txt.split(" ")[1] +' > ' + self.htmlToText(' '.join(txt.split(" ")[2:])) + ''
@@ -140,7 +145,8 @@ class start(QtGui.QDialog):
html = html.replace('(y)', '')
html = html.replace('8|', '')
html = html.replace('3:)', '')
- html = html.replace(':pedobear', '')
+ html = html.replace(':pedobear', '')
+ html = html.replace(':homer', '')
return html
@@ -179,7 +185,9 @@ class start(QtGui.QDialog):
-
+ if txt.split(" ")[0] == "SUCC_PRIVATE_DISCUSSION_ACCEPTED":
+ self.message_buffer += '
PRIVATE DISCUSSION ? challenge accepted ! '
+
if txt.split(" ")[0] == "SUCC_INVITED" :
self.ShowMessageOK("invitation requested")
self.admin = privateMessage(self,self.s,self.demande)
@@ -289,8 +297,7 @@ class start(QtGui.QDialog):
self.ui.listNames.itemActivated.connect(self.someMethod)
def someMethod(self,item):
-
- nom = item.text()
+ nom = item.text().replace("SUCC_INVITED","")
cmdPM = "/askpm "+nom
try:
self.s.send(cmdPM.encode())