Commit eea942fc authored by Bernhard Geier's avatar Bernhard Geier
Browse files

set message type to "chat"

some clients (i.e. Sailfish) do not accept message without message type
parent 444f67f6
......@@ -19,7 +19,7 @@ class XMPPNotify(ClientXMPP):
def session_start(self, event):
self.send_presence()
self.get_roster()
self.send_message(mto=self.recipient, mbody=self.msg)
self.send_message(mto=self.recipient, mbody=self.msg, mtype='chat')
self.disconnect()
def message(self, msg):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment