WhisperSystems/TextSecure — pull request #63 by thoughtbox (2012-09-20 09:37:21+00:00)
Title: Notifications don't get removed when a thread marked with unread messages is deleted and a notification is active

Reproduce by getting an SMS, then open TextSecure (rather than going via the notification). Delete the thread with the unread message. The notification doesn't go away.