comparison src/pages/files/page_meta.py @ 1087:5d179a3dac50

pages (blog, files): use new local_device argument of discoFindByFeatures
author Goffi <goffi@goffi.org>
date Wed, 23 May 2018 21:55:13 +0200
parents 5bf288f84862
children cdd389ef97bc
comparison
equal deleted inserted replaced
1086:2566f17a0e59 1087:5d179a3dac50
16 @defer.inlineCallbacks 16 @defer.inlineCallbacks
17 def prepare_render(self, request): 17 def prepare_render(self, request):
18 profile = self.getProfile(request) 18 profile = self.getProfile(request)
19 template_data = request.template_data 19 template_data = request.template_data
20 namespace = self.host.ns_map['fis'] 20 namespace = self.host.ns_map['fis']
21 entities_services, entities_own, entities_roster = yield self.host.bridgeCall('discoFindByFeatures', [namespace], [], False, True, True, True, profile) 21 entities_services, entities_own, entities_roster = yield self.host.bridgeCall('discoFindByFeatures', [namespace], [], False, True, True, True, False, profile)
22 tpl_service_entities = template_data['disco_service_entities'] = {} 22 tpl_service_entities = template_data['disco_service_entities'] = {}
23 tpl_own_entities = template_data['disco_own_entities'] = {} 23 tpl_own_entities = template_data['disco_own_entities'] = {}
24 tpl_roster_entities = template_data['disco_roster_entities'] = {} 24 tpl_roster_entities = template_data['disco_roster_entities'] = {}
25 entities_url = template_data['entities_url'] = {} 25 entities_url = template_data['entities_url'] = {}
26 26