plugin XEP-0277: added missing author_email parsing
This commit is contained in:
parent
99894bd6f2
commit
7dc6760e0f
1 changed files with 5 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue