core (memory/disco): getInfos now handle node + use client instead of profile in many methods
This commit is contained in:
parent
a205ff4e90
commit
3bc851abf2
1 changed files with 69 additions and 60 deletions
|
|
@ -71,7 +71,7 @@ class GroupBlog(object):
|
|||
@defer.inlineCallbacks
|
||||
def profileConnected(self, client):
|
||||
try:
|
||||
yield self.host.checkFeatures((NS_PUBSUB_GROUPBLOG,), profile=client.profile)
|
||||
yield self.host.checkFeatures(client, (NS_PUBSUB_GROUPBLOG,))
|
||||
except exceptions.FeatureNotFound:
|
||||
client.server_groupblog_available = False
|
||||
log.warning(_(u"Server is not able to manage item-access pubsub, we can't use group blog"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue