Unverified Commit e5fd3438 authored by Finn Christiansen's avatar Finn Christiansen Committed by GitHub
Browse files

Merge pull request #4 from citronalco/mtype

set message type to "chat"
parents 444f67f6 eea942fc
......@@ -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