|
|
|
|
@ -71,13 +71,12 @@ const handleSessionItemClick = async (conversation: V2NIMConversation) => {
|
|
|
|
|
flag = true;
|
|
|
|
|
|
|
|
|
|
await uni.$UIKitStore.uiStore.selectConversation(conversation.conversationId);
|
|
|
|
|
console.log("handleSessionItemClick", conversation);
|
|
|
|
|
const itemUserInfo = await uni.$UIKitStore.userStore.getUserActive(conversation.conversationId.split('|')[2])
|
|
|
|
|
let _title = '';
|
|
|
|
|
if(itemUserInfo.serverExtension){
|
|
|
|
|
_title = '@' + JSON.parse(itemUserInfo.serverExtension).fullName;
|
|
|
|
|
_title = itemUserInfo.name + '@' + JSON.parse(itemUserInfo.serverExtension).fullName;
|
|
|
|
|
}else{
|
|
|
|
|
_title = '';
|
|
|
|
|
_title = itemUserInfo.name;
|
|
|
|
|
}
|
|
|
|
|
customNavigateTo({
|
|
|
|
|
url: "/pages/Chat/index?ctitle=" + _title,
|
|
|
|
|
|