Commit 4f49fc5e by zhousil

up

parent b509c106
Showing with 6 additions and 0 deletions
...@@ -61,6 +61,12 @@ export default class ChatList extends Vue { ...@@ -61,6 +61,12 @@ export default class ChatList extends Vue {
@chatStore.State(ChatStore.STATE_CURRENT_UNREAD_MESSAGE_COUNT) @chatStore.State(ChatStore.STATE_CURRENT_UNREAD_MESSAGE_COUNT)
protected readonly unread!: ChatStore.STATE_CURRENT_UNREAD_MESSAGE_COUNT; protected readonly unread!: ChatStore.STATE_CURRENT_UNREAD_MESSAGE_COUNT;
@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) { protected parseMesage(data: ChatItem) {
if (data.last_msg_sender && data.last_msg_sender !== "0") { if (data.last_msg_sender && data.last_msg_sender !== "0") {
if (this.userNames[data.last_msg_sender] === undefined) { if (this.userNames[data.last_msg_sender] === undefined) {
......
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