mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
dont ping users
This commit is contained in:
parent
dfb6178ddf
commit
365d9bc40a
1 changed files with 2 additions and 2 deletions
|
@ -38,6 +38,7 @@ export async function importPosts(
|
|||
try {
|
||||
for (const post of JSON.parse(json)) {
|
||||
try {
|
||||
linenum++;
|
||||
if (post.replyId != null) {
|
||||
logger.info(`Is reply, skip [${linenum}] ...`);
|
||||
continue;
|
||||
|
@ -66,11 +67,10 @@ export async function importPosts(
|
|||
visibility: "public",
|
||||
visibleUsers: [],
|
||||
channel: null,
|
||||
apMentions: undefined,
|
||||
apMentions: null,
|
||||
apHashtags: undefined,
|
||||
apEmojis: undefined,
|
||||
});
|
||||
linenum++;
|
||||
} catch (e) {
|
||||
logger.warn(`Error in line:${linenum} ${e}`);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue