fixed typos for translations and method name.

This commit is contained in:
Warrick Corfe-Tan 2021-11-04 16:07:27 +11:00
parent c3924f85a9
commit 87235641cb
2 changed files with 3 additions and 3 deletions

View file

@ -447,5 +447,5 @@
"blockAll": "Block All",
"messageRequests": "Message Requests",
"requestsSubtitle": "Pending Requests",
"requestsPlaceHolder": "No requests"
"requestsPlaceholder": "No requests"
}

View file

@ -463,7 +463,7 @@ export async function handleMessageJob(
conversationKey: conversation.id,
messageModelProps: message.getMessageModelProps(),
});
trotthledAllMessagesAddedDispatch();
throttledAllMessagesAddedDispatch();
if (message.get('unread')) {
await conversation.throttledNotify(message);
}
@ -479,7 +479,7 @@ export async function handleMessageJob(
}
}
const trotthledAllMessagesAddedDispatch = _.throttle(() => {
const throttledAllMessagesAddedDispatch = _.throttle(() => {
if (updatesToDispatch.size === 0) {
return;
}