mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-12-01 21:32:22 -05:00
ConversationActivity: Status filtering is now done by Conversation class
This commit is contained in:
parent
70388160c7
commit
2265c03a69
@ -347,12 +347,10 @@ 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()) {
|
||||||
Message message = conversation.pollBufferedMessage();
|
Message message = conversation.pollBufferedMessage();
|
||||||
|
Loading…
Reference in New Issue
Block a user