diff --git a/weboob/applications/qhavesex/contacts.py b/weboob/applications/qhavesex/contacts.py index b5a5c81f..a9615f8c 100644 --- a/weboob/applications/qhavesex/contacts.py +++ b/weboob/applications/qhavesex/contacts.py @@ -162,6 +162,8 @@ class ContactThread(QWidget): self.process_reply.do('post_message', m, backends=self.contact.backend) def _postReply_cb(self, backend, ignored): + if not backend: + return self.ui.textEdit.clear() self.ui.textEdit.setEnabled(True) self.ui.sendButton.setEnabled(True)