# HG changeset patch # User Goffi # Date 1453490657 -3600 # Node ID 3c8cf120a0fd6c3b5d370c14c812099ff71a2d9c # Parent c271087d202076ea7d8541c6b3167b7e03f10fba plugin XEP-0277: added missing author_email parsing diff -r c271087d2020 -r 3c8cf120a0fd src/plugins/plugin_xep_0277.py --- a/src/plugins/plugin_xep_0277.py Fri Jan 22 20:24:17 2016 +0100 +++ b/src/plugins/plugin_xep_0277.py Fri Jan 22 20:24:17 2016 +0100 @@ -416,6 +416,11 @@ 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',