Skip to content

Commit

Permalink
fix more actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriellsh committed Sep 21, 2023
1 parent 671716a commit a40a28b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions apps/meteor/app/ui-utils/client/lib/messageActionDefault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Meteor.startup(async () => {
id: 'delete-message',
icon: 'trash',
label: 'Delete',
context: ['message', 'message-mobile', 'threads', 'federated'],
context: ['message', 'message-mobile', 'threads', 'federated', 'videoconf', 'videoconf-threads'],
color: 'alert',
type: 'management',
async action(this: unknown, _, { message = messageArgs(this).msg, chat }) {
Expand Down Expand Up @@ -236,7 +236,7 @@ Meteor.startup(async () => {
id: 'report-message',
icon: 'report',
label: 'Report',
context: ['message', 'message-mobile', 'threads', 'federated'],
context: ['message', 'message-mobile', 'threads', 'federated', 'videoconf', 'videoconf-threads'],
color: 'alert',
type: 'management',
action(this: unknown, _, { message = messageArgs(this).msg }) {
Expand Down Expand Up @@ -264,7 +264,7 @@ Meteor.startup(async () => {
id: 'reaction-list',
icon: 'emoji',
label: 'Reactions',
context: ['message', 'message-mobile', 'threads'],
context: ['message', 'message-mobile', 'threads', 'videoconf', 'videoconf-threads'],
type: 'interaction',
action(this: unknown, _, { message: { reactions = {} } = messageArgs(this).msg }) {
imperativeModal.open({
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/ee/client/startup/readReceipt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Meteor.startup(() => {
id: 'receipt-detail',
icon: 'info-circled',
label: 'Info',
context: ['starred', 'message', 'message-mobile', 'threads'],
context: ['starred', 'message', 'message-mobile', 'threads', 'videoconf', 'videoconf-threads'],
type: 'duplication',
action(_, props) {
const { message = messageArgs(this).msg } = props;
Expand Down

0 comments on commit a40a28b

Please sign in to comment.