File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -5898,16 +5898,6 @@ async function applyGroupState({
58985898 result . name = undefined ;
58995899 }
59005900
5901- // avatar
5902- result = {
5903- ...result ,
5904- ...( await applyNewAvatar ( {
5905- newAvatarUrl : dropNull ( groupState . avatar ) ,
5906- attributes : result ,
5907- logId,
5908- } ) ) ,
5909- } ;
5910-
59115901 // disappearingMessagesTimer
59125902 // Note: during decryption, disappearingMessageTimer becomes a GroupAttributeBlob
59135903 const { disappearingMessagesTimer } = groupState ;
@@ -6131,6 +6121,16 @@ async function applyGroupState({
61316121 return member ;
61326122 } ) ;
61336123
6124+ // avatar
6125+ result = {
6126+ ...result ,
6127+ ...( await applyNewAvatar ( {
6128+ newAvatarUrl : dropNull ( groupState . avatar ) ,
6129+ attributes : result ,
6130+ logId,
6131+ } ) ) ,
6132+ } ;
6133+
61346134 if ( result . left ) {
61356135 result . addedBy = undefined ;
61366136 }
You can’t perform that action at this time.
0 commit comments