fixed #204
This commit is contained in:
parent
d067448808
commit
471ed7838a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue