pl-fe: undo, this doesn't work
Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -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;
|
||||
|
||||
@ -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 }] },
|
||||
|
||||
Reference in New Issue
Block a user