comparison sat/plugins/plugin_comp_ap_gateway/http_server.py @ 3807:2032826cfbcf

component AP gateway typing + remove unused `activity` arg from `newAPDeleteItem` rel 367
author Goffi <goffi@goffi.org>
date Fri, 17 Jun 2022 15:50:34 +0200
parents 36b167ddbfca
children 0b1c30ff2cbb
comparison
equal deleted inserted replaced
3806:adebd8036b68 3807:2032826cfbcf
250 if node is None: 250 if node is None:
251 node = self.apg._m.namespace 251 node = self.apg._m.namespace
252 client = await self.apg.getVirtualClient(signing_actor) 252 client = await self.apg.getVirtualClient(signing_actor)
253 objects = await self.apg.apGetList(data, "object") 253 objects = await self.apg.apGetList(data, "object")
254 for obj in objects: 254 for obj in objects:
255 await self.apg.newAPDeleteItem(client, account_jid, node, data, obj) 255 await self.apg.newAPDeleteItem(client, account_jid, node, obj)
256 256
257 async def handleCreateActivity( 257 async def handleCreateActivity(
258 self, 258 self,
259 request: "HTTPRequest", 259 request: "HTTPRequest",
260 data: dict, 260 data: dict,