1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-29 20:32:22 -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,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()) {