changeset 747:efbd28b3438e

static blog: fixed bad use of JID
author Goffi <goffi@goffi.org>
date Mon, 23 Nov 2015 15:57:15 +0100
parents 25984ca4aef2
children 0d5889b9313c
files src/server/blog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/server/blog.py	Mon Nov 23 14:19:25 2015 +0100
+++ b/src/server/blog.py	Mon Nov 23 15:57:15 2015 +0100
@@ -128,7 +128,7 @@
             return self.useTemplate(request, "static_blog_error", {'message': "Invalid nickname"})
 
         d = defer.Deferred()
-        JID(self.host.bridge.asyncGetParamA('JabberID', 'Connection', 'value', profile_key=prof_found, callback=d.callback, errback=d.errback))
+        self.host.bridge.asyncGetParamA('JabberID', 'Connection', 'value', profile_key=prof_found, callback=d.callback, errback=d.errback)
         d.addCallbacks(lambda pub_jid_s: self.gotJID(pub_jid_s, request, prof_found))
         return server.NOT_DONE_YET