1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-26 10:52:16 -05:00

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

View File

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