Commit b3760306 authored by Abhijith PA's avatar Abhijith PA
Browse files

progress1222

parent f1f821fb
......@@ -95,9 +95,9 @@ class MUCBot(sleekxmpp.ClientXMPP):
def foo():
data = json.loads(request.data)
m1 = data["user"][0]["username"]
# m2 = data["object_attributes"][0]["title"]
# m3 = data["object_attributes"][0]["url"]
message=m1 #," ",m2, " ",m3
m2 = data["object_attributes"][0]["title"]
m3 = data["object_attributes"][0]["url"]
message=m1," ",m2, " ",m3
#try:
self.send_message(mto=self.room,mbody=message,mtype='groupchat')
#except:
......
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