Skip to content

Commit

Permalink
Fix отображения аватара источника
Browse files Browse the repository at this point in the history
  • Loading branch information
egorprnn committed Aug 28, 2020
1 parent a3c0efc commit 1d8906b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Handler.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export class Handler {
if (copyright) {
const { photo_50 } = await this.getById(copyright.id);

builder.setFooter(`Источник: ${copyright.name}`, photo_50);
builder.setFooter(`Источник: ${copyright.name}`, copyright.id ? photo_50 : null);
}
}

Expand Down

0 comments on commit 1d8906b

Please sign in to comment.