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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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();