diff --git a/addon/appModules/whatsapp/__init__.py b/addon/appModules/whatsapp/__init__.py index f415bdd..b7f092e 100644 --- a/addon/appModules/whatsapp/__init__.py +++ b/addon/appModules/whatsapp/__init__.py @@ -106,7 +106,7 @@ def event_NVDAObject_init(self, obj): if getattr(obj, 'UIAAutomationId', 'BubbleListItem') != 'BubbleListItem' or not self.remove_phone_number and not self.remove_emojis: return if self.remove_phone_number and '+' in obj.name: - obj.name= sub(r'\+\d[\d\s\:\~\&-]{12,}', '', obj.name) + obj.name= sub(r'\+\d[\d\s\:\~\&\(\)-]{12,}', '', obj.name) if self.remove_emojis: obj.name= emoji.replace_emoji(obj.name, '')