Add no-misused/floating-promises lint rule
This commit is contained in:
parent
1a68c3db62
commit
ed271d92ea
150 changed files with 1296 additions and 991 deletions
|
@ -13,6 +13,7 @@ import { tapToViewMessagesDeletionService } from '../services/tapToViewMessagesD
|
|||
import { isGroup, isDirectConversation } from './whatTypeOfConversation';
|
||||
import * as log from '../logging/log';
|
||||
import { getConversationIdForLogging } from './idForLogging';
|
||||
import { drop } from './drop';
|
||||
import { isConversationAccepted } from './isConversationAccepted';
|
||||
import { ReadStatus } from '../messages/MessageReadStatus';
|
||||
|
||||
|
@ -133,7 +134,7 @@ export async function markConversationRead(
|
|||
'markConversationRead: We are primary device; not sending read syncs'
|
||||
);
|
||||
} else {
|
||||
readSyncJobQueue.add({ readSyncs });
|
||||
drop(readSyncJobQueue.add({ readSyncs }));
|
||||
}
|
||||
|
||||
if (isConversationAccepted(conversationAttrs)) {
|
||||
|
@ -144,8 +145,8 @@ export async function markConversationRead(
|
|||
}
|
||||
}
|
||||
|
||||
expiringMessagesDeletionService.update();
|
||||
tapToViewMessagesDeletionService.update();
|
||||
void expiringMessagesDeletionService.update();
|
||||
void tapToViewMessagesDeletionService.update();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue