# HG changeset patch # User Goffi # Date 1679152830 -3600 # Node ID b13673d998dc902c05e7de55b42aaa1305f1998b # Parent d538b07cddf31ee60648d0f88caf6cdf490137f4 component AP gateway: fix bad use of `parseAPURL` return data: `parent_item_id` was not retrieved correctly, probably due to a missed update after code change. diff -r d538b07cddf3 -r b13673d998dc sat/plugins/plugin_comp_ap_gateway/__init__.py --- a/sat/plugins/plugin_comp_ap_gateway/__init__.py Sat Mar 18 15:01:55 2023 +0100 +++ b/sat/plugins/plugin_comp_ap_gateway/__init__.py Sat Mar 18 16:20:30 2023 +0100 @@ -2365,7 +2365,7 @@ ) return try: - parent_item_account, parent_item_id = url_args[0].split("/", 1) + parent_item_account, parent_item_id = url_args[0], '/'.join(url_args[1:]) except (IndexError, ValueError): log.warning( "Ignoring AP item replying to an XMPP item with invalid inReplyTo URL "