diff --git a/appengine/xmpp/xmpp.py b/appengine/xmpp/xmpp.py index 91bdc8a7c6d1..11b20c551797 100644 --- a/appengine/xmpp/xmpp.py +++ b/appengine/xmpp/xmpp.py @@ -68,9 +68,9 @@ def post(self): # [END error] -# [START send-chat-to-user] class SendChatHandler(webapp2.RequestHandler): def post(self): + # [START send-chat-to-user] user_address = 'example@gmail.com' msg = ('Someone has sent you a gift on Example.com. ' 'To view: http://example.com/gifts/') @@ -81,7 +81,7 @@ def post(self): # Send an email message instead... # [END send-chat-to-user] pass -# [START send-chat-to-user] +# [END send-chat-to-user] # [START chat]