diff src/server/blog.py @ 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 7168a9873dde
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