We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48f6ee8 commit 7ee5bceCopy full SHA for 7ee5bce
1 file changed
src/whatsapp/services/whatsapp.service.ts
@@ -3427,6 +3427,8 @@ export class WAStartupService {
3427
await this.client.updateProfilePicture(this.instance.wuid, pic);
3428
this.logger.verbose('Profile picture updated');
3429
3430
+ this.reloadConnection();
3431
+
3432
return { update: 'success' };
3433
} catch (error) {
3434
throw new InternalServerErrorException('Error updating profile picture', error.toString());
@@ -3438,6 +3440,8 @@ export class WAStartupService {
3438
3440
try {
3439
3441
await this.client.removeProfilePicture(this.instance.wuid);
3442
3443
3444
3445
3446
3447
throw new InternalServerErrorException('Error removing profile picture', error.toString());
0 commit comments