diff --git a/addon/appModules/whatsapp.py b/addon/appModules/whatsapp.py index 2188ffc..413d5b8 100644 --- a/addon/appModules/whatsapp.py +++ b/addon/appModules/whatsapp.py @@ -49,7 +49,7 @@ def configFile(self): self.viewConfig = f.read() except FileNotFoundError: with open(f'{appArgs.configPath}\\WhatsAppEnhancements.ini', 'w') as f: - f.write('disabled') + f.write('enabled') # Function that receives the UIAAutomationId by parameter, and returns the match object def get(self, id, errorMessage, gesture): @@ -97,7 +97,7 @@ def event_NVDAObject_init(self, obj): except: pass try: - if self.viewConfig == 'disabled': return + if self.viewConfig == 'enabled': return if obj.UIAAutomationId == 'BubbleListItem': obj.name = sub(r'\+\d[()\d\s‬-]{12,}', '', obj.name) except: