Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
foreign
/
customer-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3e2c1309
authored
Dec 15, 2021
by
Sixong.Zhu
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
u
parent
9861a612
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
components/message.vue
components/message.vue
View file @
3e2c1309
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
QuestionAnswerMessage
,
QuestionAnswerMessage
,
ActionMessage
,
ActionMessage
,
PayMessage
,
PayMessage
,
NotifyMessage
NotifyMessage
,
},
},
})
})
export
default
class
Message
extends
Vue
{
export
default
class
Message
extends
Vue
{
...
@@ -326,8 +326,13 @@
...
@@ -326,8 +326,13 @@
return
true
;
return
true
;
}
}
const
senderEid
=
this
.
messageBody
.
eid
;
const
senderEid
=
+
this
.
messageBody
.
eid
;
return
senderEid
!
.
toString
()
===
this
.
chatMyId
!
.
toString
();
const
m1
=
senderEid
===
+
this
.
chatMyId
;
if
(
m1
&&
this
.
chatMembers
)
{
const
m2
=
_
.
find
(
this
.
chatMembers
,
(
i
)
=>
+
i
.
eid
===
senderEid
);
return
m2
&&
+
m2
.
oid
===
+
this
.
messageBody
.
oid
;
}
return
false
;
}
}
private
get
userName
()
{
private
get
userName
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment