kopia lustrzana https://github.com/cheeaun/phanpy
Need more debug info for dedupe boosts
rodzic
4f8b5cf5fb
commit
06edafa5f8
|
@ -51,7 +51,11 @@ export function dedupeBoosts(items, instance) {
|
||||||
if (!item.reblog) return true;
|
if (!item.reblog) return true;
|
||||||
const s = getStatus(item.reblog.id, instance);
|
const s = getStatus(item.reblog.id, instance);
|
||||||
if (s) {
|
if (s) {
|
||||||
console.warn('🚫 Duplicate boost', item);
|
console.warn(
|
||||||
|
`🚫 Duplicate boost by ${item.account.displayName}`,
|
||||||
|
item,
|
||||||
|
s,
|
||||||
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const s2 = getStatus(item.id, instance);
|
const s2 = getStatus(item.id, instance);
|
||||||
|
|
Ładowanie…
Reference in New Issue