Commit 92ac192a by zhousil

Merge branch 'master' into pre

parents cd6737c1 e1a7be9b
......@@ -64,9 +64,6 @@ export default class ChatList extends Vue {
@chatStore.Getter(ChatStore.GETTER_CURRENT_CURRENT_CHAT)
protected readonly currentChat!: ChatStore.GETTER_CURRENT_CURRENT_CHAT;
@chatStore.Action(ChatStore.ACTION_CHAT_FINISH_RECEPTION)
protected readonly _finishReception!: ChatStore.ACTION_CHAT_FINISH_RECEPTION;
protected parseMesage(data: ChatItem) {
if (data.last_msg_sender && data.last_msg_sender !== "0") {
if (this.userNames[data.last_msg_sender] === undefined) {
......
......@@ -41,7 +41,7 @@ export class ChatUserInfoService {
)
.request<any, any, UserInfo>("get");
const data = {
name: info.username || info.realname || info.mobile || info.mobile,
name: info.realname || info.username || info.mobile || info.mobile,
phone: info.mobile,
icon: info.avatar_url,
alias_name: info.alias_name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment