Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
fb33b919
Unverified
Commit
fb33b919
authored
1 year ago
by
Matheus Barbosa Silva
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
chore: Remove duplicated file related to read receipts (#31089)
parent
e76c47c3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/meteor/client/startup/actionButtons/index.ts
+0
-1
0 additions, 1 deletion
apps/meteor/client/startup/actionButtons/index.ts
apps/meteor/client/startup/actionButtons/readReceipt.ts
+0
-35
0 additions, 35 deletions
apps/meteor/client/startup/actionButtons/readReceipt.ts
with
0 additions
and
36 deletions
apps/meteor/client/startup/actionButtons/index.ts
+
0
−
1
View file @
fb33b919
...
...
@@ -5,7 +5,6 @@ import './jumpToStarMessage';
import
'
./permalinkPinned
'
;
import
'
./permalinkStar
'
;
import
'
./pinMessage
'
;
import
'
./readReceipt
'
;
import
'
./starMessage
'
;
import
'
./unpinMessage
'
;
import
'
./unstarMessage
'
;
This diff is collapsed.
Click to expand it.
apps/meteor/client/startup/actionButtons/readReceipt.ts
deleted
100644 → 0
+
0
−
35
View file @
e76c47c3
import
{
Meteor
}
from
'
meteor/meteor
'
;
import
{
Tracker
}
from
'
meteor/tracker
'
;
import
{
settings
}
from
'
../../../app/settings/client
'
;
import
{
MessageAction
}
from
'
../../../app/ui-utils/client
'
;
import
{
imperativeModal
}
from
'
../../lib/imperativeModal
'
;
import
{
messageArgs
}
from
'
../../lib/utils/messageArgs
'
;
import
ReadReceiptsModal
from
'
../../views/room/modals/ReadReceiptsModal
'
;
Meteor
.
startup
(()
=>
{
Tracker
.
autorun
(()
=>
{
const
enabled
=
settings
.
get
(
'
Message_Read_Receipt_Store_Users
'
);
if
(
!
enabled
)
{
return
MessageAction
.
removeButton
(
'
receipt-detail
'
);
}
MessageAction
.
addButton
({
id
:
'
receipt-detail
'
,
icon
:
'
info-circled
'
,
label
:
'
Info
'
,
context
:
[
'
starred
'
,
'
message
'
,
'
message-mobile
'
,
'
threads
'
,
'
videoconf
'
,
'
videoconf-threads
'
],
type
:
'
duplication
'
,
action
(
_
,
props
)
{
const
{
message
=
messageArgs
(
this
).
msg
}
=
props
;
imperativeModal
.
open
({
component
:
ReadReceiptsModal
,
props
:
{
messageId
:
message
.
_id
,
onClose
:
imperativeModal
.
close
},
});
},
order
:
10
,
group
:
'
menu
'
,
});
});
});
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment