|
@@ -441,7 +441,13 @@ export default {
|
|
getConversation(queryParams).then(response => {
|
|
getConversation(queryParams).then(response => {
|
|
if(response.code==200){
|
|
if(response.code==200){
|
|
var conversation=response.data;
|
|
var conversation=response.data;
|
|
- var conversationIdx=IMUI.findConversationIndexById(msgData.toContactId);
|
|
|
|
|
|
+ var unread=conversation.unread;
|
|
|
|
+ if(!unread){
|
|
|
|
+ conversation.unread=1;
|
|
|
|
+ }else{
|
|
|
|
+ conversation.unread+=1;
|
|
|
|
+ }
|
|
|
|
+
|
|
IMUI.topPopConversations(conversation);
|
|
IMUI.topPopConversations(conversation);
|
|
|
|
|
|
}
|
|
}
|