guardianproject/Gibberbot — pull request #124 by Kensan (2012-04-04 21:10:47+00:00)
Title: Properly set sound notification (fixes #117)

Set the ringtone URI to default ringtone if sound notification is
enabled and to null otherwise.

This fixes the problem that sound notifications are not send anymore
the user has disabled and the enabled them back again. The reason was
that the ringtone URI would never be set to a valid value once it had
been set to null.