changeset 894:e4e278255c9a

blog: changed MIME type for xmpp: link, forgotten in rev dc27e29b7c22
author Goffi <goffi@goffi.org>
date Sun, 20 Mar 2016 20:34:21 +0100
parents 298fbe562060
children 5d7bc53a392d
files src/server/blog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/server/blog.py	Sun Mar 20 20:06:28 2016 +0100
+++ b/src/server/blog.py	Sun Mar 20 20:34:21 2016 +0100
@@ -481,7 +481,7 @@
                 # XMPP link
                 xmpp_link_elt = entry_elt.addElement(u'link')
                 xmpp_link_elt['rel'] = u'alternate'
-                xmpp_link_elt['type'] = u'application/xmpp+xml'
+                xmpp_link_elt['type'] = u'application/atom+xml'
                 xmpp_link_elt['href'] = u'{blog_uri};item={item_id}'.format(blog_uri=blog_xmpp_uri, item_id=item['id'])
 
                 # date metadata