pl-fe: undo, this doesn't work

Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
Nicole Mikołajczyk
2025-06-01 00:35:11 +02:00
parent 8030319152
commit a91eb772ae
2 changed files with 2 additions and 3 deletions

View File

@ -48,8 +48,7 @@ const processCircle = (setProgress: (progress: {
interaction.reblogs += 1;
interaction.acct = status.reblog.account.acct;
const avatarUrl = status.reblog.account.avatar_static || status.reblog.account.avatar;
interaction.avatar = avatarUrl?.endsWith('/identicon') ? '' : avatarUrl;
interaction.avatar = status.reblog.account.avatar_static || status.reblog.account.avatar;
interaction.avatar_description = status.reblog.account.avatar_description;
} else if (status.in_reply_to_account_id) {
if (status.in_reply_to_account_id === me) return;

View File

@ -88,7 +88,7 @@ const CirclePage: React.FC = () => {
// https://github.com/duiker101/twitter-interaction-circles
const ctx = canvasRef.current?.getContext('2d')!;
const ownAvatar = (account?.avatar && !account.avatar.endsWith('/identicon') && account.avatar) || avatarMissing;
const ownAvatar = account?.avatar || avatarMissing;
for (const layer of [
{ index: 0, off: 0, distance: 0, count: 1, radius: 110, users: [{ avatar: ownAvatar }] },