plugin XEP-0277: added missing author_email parsing

This commit is contained in:
Goffi 2016-01-22 20:24:17 +01:00
commit 7dc6760e0f

View file

@ -416,6 +416,11 @@ class XEP_0277(object):
author_jid_s = client.jid.userhost()
author_elt.addElement('uri', content="xmpp:{}".format(author_jid_s))
try:
author_jid_s = data['author_email']
except KeyError:
pass
## published/updated time ##
current_time = time.time()
entry_elt.addElement('updated',