Mercurial > libervia-backend
changeset 4013:b13673d998dc
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.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 18 Mar 2023 16:20:30 +0100 (21 months ago) |
parents | d538b07cddf3 |
children | 4ef473116499 |
files | sat/plugins/plugin_comp_ap_gateway/__init__.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 "