Additional logging, new ability to force Conversation 'change' event

This commit is contained in:
Scott Nonnenberg 2021-09-20 11:51:30 -07:00 committed by GitHub
parent e9ef239ff0
commit 250a89d953
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 85 deletions

View file

@ -1320,7 +1320,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
async send(
promise: Promise<CallbackResultType | void | null>,
saveErrors?: (errors: Array<Error>) => void
): Promise<void | Array<void>> {
): Promise<void> {
const updateLeftPane =
this.getConversation()?.debouncedUpdateLastMessage || noop;