1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-03 00:33:22 +03:00

Update slash command posthog enum (#7776)

This commit is contained in:
Michael Telatynski
2022-02-10 13:11:10 +00:00
committed by GitHub
parent f6565bfbc8
commit fd832488f1
3 changed files with 5 additions and 5 deletions

View File

@@ -500,7 +500,7 @@ export const Commands = [
command: 'invite',
args: '<user-id> [<reason>]',
description: _td('Invites user with given id to current room'),
analyticsName: "invite",
analyticsName: "Invite",
isEnabled: () => shouldShowComponent(UIComponent.InviteUsers),
runFn: function(roomId, args) {
if (args) {
@@ -687,7 +687,7 @@ export const Commands = [
command: 'part',
args: '[<room-address>]',
description: _td('Leave room'),
analyticsName: "part",
analyticsName: "Part",
runFn: function(roomId, args) {
const cli = MatrixClientPeg.get();