Commit 30bd6e72 authored by Dan Pascu's avatar Dan Pascu

Avoid changing the tail_length unnecessarily

parent 0eac07bc
......@@ -242,7 +242,7 @@ class Blink(QApplication):
if settings.google_contacts.authorization_token is InvalidToken:
self.main_window.google_contacts_dialog.open_for_incorrect_password()
self.update_manager.initialize()
if settings.audio.tail_length:
if settings.audio.tail_length not in (0, SIPSimpleSettings.audio.tail_length.default):
# Fix old hardcoded setting value
settings.audio.tail_length = DefaultValue
settings.save()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment