@@ -1300,8 +1300,8 @@ class Client extends EventEmitter {
13001300 content instanceof Buttons ,
13011301 content instanceof List ,
13021302 Array . isArray ( content ) &&
1303- content . length > 0 &&
1304- content [ 0 ] instanceof Contact ,
1303+ content . length > 0 &&
1304+ content [ 0 ] instanceof Contact ,
13051305 ] . includes ( true )
13061306 ) {
13071307 console . warn (
@@ -1322,8 +1322,8 @@ class Client extends EventEmitter {
13221322 content instanceof Buttons ,
13231323 content instanceof List ,
13241324 Array . isArray ( content ) &&
1325- content . length > 0 &&
1326- content [ 0 ] instanceof Contact ,
1325+ content . length > 0 &&
1326+ content [ 0 ] instanceof Contact ,
13271327 ] . includes ( true )
13281328 ) {
13291329 console . warn (
@@ -1678,10 +1678,10 @@ class Client extends EventEmitter {
16781678 return ! pinnedMsgs . length
16791679 ? [ ]
16801680 : await Promise . all (
1681- pinnedMsgs . map ( ( msg ) =>
1682- window . WWebJS . getMessageModel ( msg ) ,
1683- ) ,
1684- ) ;
1681+ pinnedMsgs . map ( ( msg ) =>
1682+ window . WWebJS . getMessageModel ( msg ) ,
1683+ ) ,
1684+ ) ;
16851685 } , chatId ) ;
16861686
16871687 return pinnedMsgs . map ( ( msg ) => new Message ( this , msg ) ) ;
@@ -1983,9 +1983,9 @@ class Client extends EventEmitter {
19831983 . Chat . find ( chatId ) ) ;
19841984 action === 'MUTE'
19851985 ? await chat . mute . mute ( {
1986- expiration : unmuteDateTs ,
1987- sendDevice : true ,
1988- } )
1986+ expiration : unmuteDateTs ,
1987+ sendDevice : true ,
1988+ } )
19891989 : await chat . mute . unmute ( { sendDevice : true } ) ;
19901990 return {
19911991 isMuted : chat . mute . expiration !== 0 ,
@@ -2269,9 +2269,9 @@ class Client extends EventEmitter {
22692269 window
22702270 . require ( 'WAWebCollections' )
22712271 . Chat . get ( participant . wid ) ||
2272- ( await window
2273- . require ( 'WAWebCollections' )
2274- . Chat . find ( participant . wid ) ) ,
2272+ ( await window
2273+ . require ( 'WAWebCollections' )
2274+ . Chat . find ( participant . wid ) ) ,
22752275 createGroupResult . wid . _serialized ,
22762276 createGroupResult . subject ,
22772277 participant . invite_code ,
@@ -2536,11 +2536,11 @@ class Client extends EventEmitter {
25362536
25372537 countryCodes =
25382538 countryCodes . length === 1 &&
2539- countryCodes [ 0 ] === currentRegion
2539+ countryCodes [ 0 ] === currentRegion
25402540 ? countryCodes
25412541 : countryCodes . filter ( ( code ) =>
2542- Object . keys ( countryCodesIso ) . includes ( code ) ,
2543- ) ;
2542+ Object . keys ( countryCodesIso ) . includes ( code ) ,
2543+ ) ;
25442544
25452545 const viewTypeMapping = {
25462546 0 : 'RECOMMENDED' ,
@@ -2579,12 +2579,12 @@ class Client extends EventEmitter {
25792579
25802580 return channels
25812581 ? await Promise . all (
2582- channels . map ( ( channel ) =>
2583- window . WWebJS . getChatModel ( channel , {
2584- isChannel : true ,
2585- } ) ,
2586- ) ,
2587- )
2582+ channels . map ( ( channel ) =>
2583+ window . WWebJS . getChatModel ( channel , {
2584+ isChannel : true ,
2585+ } ) ,
2586+ ) ,
2587+ )
25882588 : [ ] ;
25892589 } ,
25902590 searchOptions ,
0 commit comments