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
73409298
authored
Dec 31, 2021
by
Sixong.Zhu
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' into pre
parents
051df315
5a2b2252
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
components/message.vue
components/message.vue
View file @
73409298
...
...
@@ -219,6 +219,9 @@
@
chatStore
.
State
(
ChatStore
.
STATE_CHAT_CURRENT_USER_UID
)
private
readonly
chatMyId
!
:
ChatStore
.
STATE_CHAT_CURRENT_USER_UID
;
@
chatStore
.
Getter
(
ChatStore
.
STATE_CURRENT_CHAT_MEMBERS
)
private
readonly
allChatMembers
!
:
ChatStore
.
STATE_CURRENT_CHAT_MEMBERS
;
@
chatStore
.
Getter
(
ChatStore
.
GETTER_CURRENT_CHAT_PRESENT_MEMBERS
)
private
readonly
chatMembers
!
:
ChatStore
.
GETTER_CURRENT_CHAT_PRESENT_MEMBERS
;
...
...
@@ -341,6 +344,15 @@
return
true
;
}
if
(
this
.
backend
&&
this
.
messageBody
.
eid
)
{
const
t
=
this
.
allChatMembers
.
find
(
(
i
)
=>
+
i
.
eid
===
+
this
.
messageBody
.
eid
);
if
(
t
&&
t
.
type
!==
ChatRole
.
Default
)
{
return
true
;
}
}
if
(
this
.
messageBody
.
eid
&&
this
.
chatMyId
)
{
const
o
=
+
this
.
messageBody
.
eid
;
const
m1
=
o
===
+
this
.
chatMyId
;
...
...
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