mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-30 20:52:21 -05:00
fixed #204
This commit is contained in:
parent
d067448808
commit
471ed7838a
@ -683,12 +683,16 @@ public class ConversationFragment extends Fragment {
|
||||
break;
|
||||
}
|
||||
}
|
||||
for(Message message : this.conversation.getMessages()) {
|
||||
if (!this.messageList.contains(message)) {
|
||||
this.messageList.add(message);
|
||||
if (this.conversation.getMessages().size() == 0) {
|
||||
this.messageList.clear();
|
||||
} else {
|
||||
for(Message message : this.conversation.getMessages()) {
|
||||
if (!this.messageList.contains(message)) {
|
||||
this.messageList.add(message);
|
||||
}
|
||||
}
|
||||
updateStatusMessages();
|
||||
}
|
||||
updateStatusMessages();
|
||||
this.messageListAdapter.notifyDataSetChanged();
|
||||
if (conversation.getMode() == Conversation.MODE_SINGLE) {
|
||||
if (messageList.size() >= 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user