ConversationActivity: Status filtering is now done by Conversation class

This commit is contained in:
Sebastian Kaspari 2010-05-12 11:09:32 +02:00
parent 70388160c7
commit 2265c03a69
1 changed files with 3 additions and 5 deletions

View File

@ -347,11 +347,9 @@ public class ConversationActivity extends Activity implements ServiceConnection,
Conversation conversation = server.getConversation(target); Conversation conversation = server.getConversation(target);
MessageListAdapter adapter = conversation.getMessageListAdapter(); MessageListAdapter adapter = conversation.getMessageListAdapter();
if (conversation.getStatus() != Conversation.STATUS_SELECTED) { conversation.setStatus(Conversation.STATUS_MESSAGE);
conversation.setStatus(Conversation.STATUS_MESSAGE); if (dots != null) {
if (dots != null) { dots.invalidate();
dots.invalidate();
}
} }
while(conversation.hasBufferedMessages()) { while(conversation.hasBufferedMessages()) {