Skip to content

Commit

Permalink
change timer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovgodd committed Jul 25, 2024
1 parent 25536d7 commit d6a727a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ class AdvancedCreateComment extends React.PureComponent<Props, State> {
};

emitRecordingEvent = () => {
const TIMER = 1000;
const TIMER = 500;
this.recordingInterval = setInterval(() => {
const {channelId, rootId} = this.props;
GlobalActions.emitLocalUserTypingEvent('recording', channelId, rootId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ class AdvancedCreatePost extends React.PureComponent<Props, State> {
};

emitRecordingEvent = () => {
const TIMER = 10;
const TIMER = 500;
this.recordingInterval = setInterval(() => {
const channelId = this.props.currentChannel.id;
GlobalActions.emitLocalUserTypingEvent('recording', channelId, '');
Expand Down

0 comments on commit d6a727a

Please sign in to comment.