diff --git a/appengine/xmpp/xmpp.py b/appengine/xmpp/xmpp.py index 11b20c551797..c28603d6a845 100644 --- a/appengine/xmpp/xmpp.py +++ b/appengine/xmpp/xmpp.py @@ -44,7 +44,8 @@ def post(self): # from the resource (e.g., gmail), and then add the # address to the roster. sender = self.request.get('from').split('/')[0] - roster.add_contact(sender) + xmpp.send_presence(sender, status=self.request.get('status'), + presence_show=self.request.get('show')) # [END presence]