From 6e4c5368bba768af257b716ac796ca9b9fb9ee8a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 16 May 2025 15:23:10 +0100 Subject: [PATCH] Remove html earlier --- matrix.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix.py b/matrix.py index f4ead534f..b8d0416eb 100644 --- a/matrix.py +++ b/matrix.py @@ -42,7 +42,7 @@ def get_matrix_address(actor_json: {}) -> str: continue if not property_value['type'].endswith('PropertyValue'): continue - address_text = property_value[prop_value_name] + address_text = remove_html(property_value[prop_value_name]) if 'xmpp' in address_text.lower(): continue if 'jabber' in address_text.lower(): @@ -63,7 +63,7 @@ def get_matrix_address(actor_json: {}) -> str: continue if '"' in address_text: continue - return remove_html(address_text) + return address_text return ''