yafp / ttth

ttth (talk to the hand) is an electron based desktop app for online services like WhatsApp, Threema, Telegram, Twitter, Google and several others.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Cannot read property 'startsWith' of undefined (source:

yafp opened this issue · comments

commented

Describe the bug
When the service-config patch routines from app/js/ttth/modules/userServiceConfigUpdater find a non-matching file it results in errors.

To Reproduce

  • Copy a user-settings-json-file into the user-service-configuration folder.

Expected behavior
ttth should be able to see it is not a service-configuration and display a notification.

Screenshots

Desktop (please complete the following information):

  • OS: Linux
  • Version 1.8.x

Additional context
Sentry: TTTH-6P

commented

I can easily catch this in the function

updateAllUserServiceConfigurationsForM1M9P0

but the question is - how did it happen in the first place.