From 7c7186f682e40d1a5c851c807ad291bd4407146f Mon Sep 17 00:00:00 2001 From: chan-mai Date: Fri, 31 Jan 2025 19:44:10 +0000 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=E3=82=BB=E3=83=9F=E3=83=91=E3=83=96?= =?UTF-8?q?=E3=83=AA=E3=83=83=E3=82=AF=E3=81=AE=E3=81=A8=E3=81=8DMkPoll?= =?UTF-8?q?=E3=81=8C=E4=BD=9C=E3=82=8C=E3=81=AA=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/core/NoteCreateService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index f3d8ec5b7a5e..52c2b09f78b3 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -479,7 +479,7 @@ export class NoteCreateService implements OnApplicationShutdown { expiresAt: data.poll!.expiresAt, multiple: data.poll!.multiple, votes: new Array(data.poll!.choices.length).fill(0), - noteVisibility: insert.visibility, + === 'public_non_ltl' ? 'public' : insert.visibility, userId: user.id, userHost: user.host, channelId: insert.channelId, From 03c3995650d0d7e72124a3ef2643f1d7340e5d91 Mon Sep 17 00:00:00 2001 From: chan-mai Date: Fri, 31 Jan 2025 19:45:43 +0000 Subject: [PATCH 2/3] fix --- packages/backend/src/core/NoteCreateService.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index 52c2b09f78b3..8493d8e2e283 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -8,6 +8,7 @@ import * as mfm from 'mfm-js'; import { In, DataSource, IsNull, LessThan } from 'typeorm'; import * as Redis from 'ioredis'; import { Inject, Injectable, OnApplicationShutdown } from '@nestjs/common'; +import { Data } from 'ws'; import { extractMentions } from '@/misc/extract-mentions.js'; import { extractCustomEmojisFromMfm } from '@/misc/extract-custom-emojis-from-mfm.js'; import { extractHashtags } from '@/misc/extract-hashtags.js'; @@ -55,7 +56,6 @@ import { UserBlockingService } from '@/core/UserBlockingService.js'; import { isReply } from '@/misc/is-reply.js'; import { trackPromise } from '@/misc/promise-tracker.js'; import { IdentifiableError } from '@/misc/identifiable-error.js'; -import { Data } from 'ws'; import { CollapsedQueue } from '@/misc/collapsed-queue.js'; import { CacheService } from '@/core/CacheService.js'; @@ -479,7 +479,7 @@ export class NoteCreateService implements OnApplicationShutdown { expiresAt: data.poll!.expiresAt, multiple: data.poll!.multiple, votes: new Array(data.poll!.choices.length).fill(0), - === 'public_non_ltl' ? 'public' : insert.visibility, + noteVisibility: insert.visibility === 'public_non_ltl' ? 'public' : insert.visibility, userId: user.id, userHost: user.host, channelId: insert.channelId, @@ -588,7 +588,7 @@ export class NoteCreateService implements OnApplicationShutdown { if (data.deleteAt) { const delay = data.deleteAt.getTime() - Date.now(); this.queueService.scheduledNoteDeleteQueue.add(note.id, { - noteId: note.id + noteId: note.id, }, { delay, removeOnComplete: true, From e2e2ba096500669d4abb4850930f56768220affb Mon Sep 17 00:00:00 2001 From: chan-mai Date: Fri, 31 Jan 2025 19:46:13 +0000 Subject: [PATCH 3/3] =?UTF-8?q?docs:=20=E6=9B=B8=E3=81=8D=E8=B6=B3?= =?UTF-8?q?=E3=81=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0b9968ba7c19..f78c26709a9f 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ - フォロー/フォロリクの履歴 https://github.com/team-shahu/misskey/pull/49 https://github.com/team-shahu/misskey/pull/50 https://github.com/team-shahu/misskey/pull/49 https://github.com/team-shahu/misskey/pull/53 https://github.com/team-shahu/misskey/pull/65 - ドライブから削除したファイルをオブジェクトストレージからも葬るように https://github.com/team-shahu/misskey/pull/49 https://github.com/team-shahu/misskey/pull/52 - えもえもローディング画面 https://github.com/team-shahu/misskey/pull/55 -- セミパブリックモードの追加 https://github.com/team-shahu/misskey/pull/57 https://github.com/team-shahu/misskey/pull/60 https://github.com/team-shahu/misskey/pull/62 https://github.com/team-shahu/misskey/pull/63 https://github.com/team-shahu/misskey/pull/66 +- セミパブリックモードの追加 https://github.com/team-shahu/misskey/pull/57 https://github.com/team-shahu/misskey/pull/60 https://github.com/team-shahu/misskey/pull/62 https://github.com/team-shahu/misskey/pull/63 https://github.com/team-shahu/misskey/pull/66 https://github.com/team-shahu/misskey/pull/68 - ログイン通知周りの改良 https://github.com/team-shahu/misskey/pull/59 https://github.com/team-shahu/misskey/pull/65 - 絵文字ライセンスをAPに追加 https://github.com/team-shahu/misskey/pull/64 ## Special Thanks