This commit is contained in:
iNPUTmice 2014-06-14 10:29:26 +02:00
parent d067448808
commit 471ed7838a

View file

@ -683,12 +683,16 @@ public class ConversationFragment extends Fragment {
break; break;
} }
} }
for(Message message : this.conversation.getMessages()) { if (this.conversation.getMessages().size() == 0) {
if (!this.messageList.contains(message)) { this.messageList.clear();
this.messageList.add(message); } else {
for(Message message : this.conversation.getMessages()) {
if (!this.messageList.contains(message)) {
this.messageList.add(message);
}
} }
updateStatusMessages();
} }
updateStatusMessages();
this.messageListAdapter.notifyDataSetChanged(); this.messageListAdapter.notifyDataSetChanged();
if (conversation.getMode() == Conversation.MODE_SINGLE) { if (conversation.getMode() == Conversation.MODE_SINGLE) {
if (messageList.size() >= 1) { if (messageList.size() >= 1) {