We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a09baa4 commit a8fcbcaCopy full SHA for a8fcbca
appengine/xmpp/xmpp.py
@@ -44,7 +44,8 @@ def post(self):
44
# from the resource (e.g., gmail), and then add the
45
# address to the roster.
46
sender = self.request.get('from').split('/')[0]
47
- roster.add_contact(sender)
+ xmpp.send_presence(sender, status=self.request.get('status'),
48
+ presence_show=self.request.get('show'))
49
# [END presence]
50
51
0 commit comments