File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -3427,6 +3427,8 @@ export class WAStartupService {
34273427 await this . client . updateProfilePicture ( this . instance . wuid , pic ) ;
34283428 this . logger . verbose ( 'Profile picture updated' ) ;
34293429
3430+ this . reloadConnection ( ) ;
3431+
34303432 return { update : 'success' } ;
34313433 } catch ( error ) {
34323434 throw new InternalServerErrorException ( 'Error updating profile picture' , error . toString ( ) ) ;
@@ -3438,6 +3440,8 @@ export class WAStartupService {
34383440 try {
34393441 await this . client . removeProfilePicture ( this . instance . wuid ) ;
34403442
3443+ this . reloadConnection ( ) ;
3444+
34413445 return { update : 'success' } ;
34423446 } catch ( error ) {
34433447 throw new InternalServerErrorException ( 'Error removing profile picture' , error . toString ( ) ) ;
You can’t perform that action at this time.
0 commit comments