Skip to content

Commit

Permalink
Update src/org/thoughtcrime/securesms/ConversationListFragment.java
Browse files Browse the repository at this point in the history
Fix for removing notification when deleting an unread thread.
  • Loading branch information
thoughtbox committed Sep 21, 2012
1 parent bb0ec65 commit 999ec76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/org/thoughtcrime/securesms/ConversationListFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
import org.thoughtcrime.securesms.database.DatabaseFactory;
import org.thoughtcrime.securesms.database.loaders.ConversationListLoader;
import org.thoughtcrime.securesms.recipients.Recipients;
import org.thoughtcrime.securesms.service.MessageNotifier;

import java.util.Set;

Expand Down Expand Up @@ -160,6 +161,7 @@ public void onClick(DialogInterface dialog, int which) {
if (!selectedConversations.isEmpty()) {
DatabaseFactory.getThreadDatabase(getActivity())
.deleteConversations(selectedConversations);
MessageNotifier.updateNotification(getActivity(), false);
}
}
});
Expand Down

0 comments on commit 999ec76

Please sign in to comment.