You've already forked matrix-react-sdk
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:
committed by
GitHub
parent
f6565bfbc8
commit
fd832488f1
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user