Commit 62ddb14d by Sixong.Zhu

u

parent b948fa15
Showing with 5 additions and 2 deletions
...@@ -398,7 +398,10 @@ ...@@ -398,7 +398,10 @@
if (this.chatMembers) { if (this.chatMembers) {
const t = this.chatMembers.find((i) => i.eid === this.data.eid); const t = this.chatMembers.find((i) => i.eid === this.data.eid);
if (t) { if (t) {
const name = this.getFilterUsername(t.alias_name, t.name); const name = this.getFilterUsername(
t.alias_name as string,
t.name
);
if (name) { if (name) {
return name; return name;
} }
......
...@@ -957,7 +957,7 @@ export default { ...@@ -957,7 +957,7 @@ export default {
return result; return result;
}) })
); );
state[ChatStore.STATE_ALL_HISTORY_CHAT_MEMBERS] = all; (<any>state)[ChatStore.STATE_ALL_HISTORY_CHAT_MEMBERS] = all;
const newChatMembers = all.filter((it) => !it.is_exited); const newChatMembers = all.filter((it) => !it.is_exited);
const member = newChatMembers.find( const member = newChatMembers.find(
(it) => (it) =>
......
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