Update loadMessaages Mutex

This commit is contained in:
Adhiraj Singh
2020-10-16 15:55:38 +05:30
parent f1e5f3c3b5
commit bb78138506

View File

@@ -93,7 +93,7 @@ export class WAConnection extends Base {
* @param cursor the data for which message to offset the query by
* @param mostRecentFirst retreive the most recent message first or retreive from the converation start
*/
@Mutex ()
@Mutex (jid => jid)
async loadMessages (
jid: string,
count: number,