comparison sat/plugins/plugin_comp_ap_gateway/http_server.py @ 3995:27e5294649c2

component AP gateway: fix missing argument when calling APOutboxPageRequest
author Goffi <goffi@goffi.org>
date Fri, 10 Feb 2023 17:37:37 +0100
parents 69d970f974ff
children 7a6c7abd7dbb
comparison
equal deleted inserted replaced
3994:69d970f974ff 3995:27e5294649c2
754 754
755 parsed_url = parse.urlparse(request.uri.decode()) 755 parsed_url = parse.urlparse(request.uri.decode())
756 query_data = parse.parse_qs(parsed_url.query) 756 query_data = parse.parse_qs(parsed_url.query)
757 if query_data: 757 if query_data:
758 return await self.APOutboxPageRequest( 758 return await self.APOutboxPageRequest(
759 request, account_jid, node, ap_account, ap_url, query_data 759 request, data, account_jid, node, ap_account, ap_url, query_data
760 ) 760 )
761 761
762 # XXX: we can't use disco#info here because this request won't work on a bare jid 762 # XXX: we can't use disco#info here because this request won't work on a bare jid
763 # due to security considerations of XEP-0030 (we don't have presence 763 # due to security considerations of XEP-0030 (we don't have presence
764 # subscription). 764 # subscription).