mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 00:38:49 +01:00
Need more debug info for dedupe boosts
This commit is contained in:
parent
4f8b5cf5fb
commit
06edafa5f8
1 changed files with 5 additions and 1 deletions
|
@ -51,7 +51,11 @@ export function dedupeBoosts(items, instance) {
|
|||
if (!item.reblog) return true;
|
||||
const s = getStatus(item.reblog.id, instance);
|
||||
if (s) {
|
||||
console.warn('🚫 Duplicate boost', item);
|
||||
console.warn(
|
||||
`🚫 Duplicate boost by ${item.account.displayName}`,
|
||||
item,
|
||||
s,
|
||||
);
|
||||
return false;
|
||||
}
|
||||
const s2 = getStatus(item.id, instance);
|
||||
|
|
Loading…
Reference in a new issue