parent
aae7961540
commit
bc07b79a23
|
@ -13,6 +13,7 @@
|
||||||
- Fix: ユーザーの検索結果を追加で読み込むことができない問題を修正
|
- Fix: ユーザーの検索結果を追加で読み込むことができない問題を修正
|
||||||
- Fix: タッチ操作時にチャートのツールチップが消えなくなる場合がある問題を修正
|
- Fix: タッチ操作時にチャートのツールチップが消えなくなる場合がある問題を修正
|
||||||
- Fix: ウェルカムタイムラインでリアクションが表示されない問題を修正
|
- Fix: ウェルカムタイムラインでリアクションが表示されない問題を修正
|
||||||
|
- Fix: デッキのタイムラインカラムで新着ノート時のサウンドが再生されない問題を修正
|
||||||
|
|
||||||
### Server
|
### Server
|
||||||
- Feat: 全てのチャットメッセージを既読にするAPIを追加(chat/read-all)
|
- Feat: 全てのチャットメッセージを既読にするAPIを追加(chat/read-all)
|
||||||
|
|
|
@ -62,6 +62,7 @@ import { useInterval } from '@@/js/use-interval.js';
|
||||||
import { getScrollContainer, scrollToTop } from '@@/js/scroll.js';
|
import { getScrollContainer, scrollToTop } from '@@/js/scroll.js';
|
||||||
import type { BasicTimelineType } from '@/timelines.js';
|
import type { BasicTimelineType } from '@/timelines.js';
|
||||||
import type { PagingCtx } from '@/composables/use-pagination.js';
|
import type { PagingCtx } from '@/composables/use-pagination.js';
|
||||||
|
import type { SoundStore } from '@/preferences/def.js';
|
||||||
import { usePagination } from '@/composables/use-pagination.js';
|
import { usePagination } from '@/composables/use-pagination.js';
|
||||||
import MkPullToRefresh from '@/components/MkPullToRefresh.vue';
|
import MkPullToRefresh from '@/components/MkPullToRefresh.vue';
|
||||||
import { useStream } from '@/stream.js';
|
import { useStream } from '@/stream.js';
|
||||||
|
@ -83,6 +84,7 @@ const props = withDefaults(defineProps<{
|
||||||
channel?: string;
|
channel?: string;
|
||||||
role?: string;
|
role?: string;
|
||||||
sound?: boolean;
|
sound?: boolean;
|
||||||
|
customSound?: SoundStore | null;
|
||||||
withRenotes?: boolean;
|
withRenotes?: boolean;
|
||||||
withReplies?: boolean;
|
withReplies?: boolean;
|
||||||
withSensitive?: boolean;
|
withSensitive?: boolean;
|
||||||
|
@ -92,6 +94,8 @@ const props = withDefaults(defineProps<{
|
||||||
withReplies: false,
|
withReplies: false,
|
||||||
withSensitive: true,
|
withSensitive: true,
|
||||||
onlyFiles: false,
|
onlyFiles: false,
|
||||||
|
sound: false,
|
||||||
|
customSound: null,
|
||||||
});
|
});
|
||||||
|
|
||||||
provide('inTimeline', true);
|
provide('inTimeline', true);
|
||||||
|
@ -190,8 +194,12 @@ function prepend(note: Misskey.entities.Note) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (props.sound) {
|
if (props.sound) {
|
||||||
|
if (props.customSound) {
|
||||||
|
sound.playMisskeySfxFile(props.customSound);
|
||||||
|
} else {
|
||||||
sound.playMisskeySfx($i && (note.userId === $i.id) ? 'noteMy' : 'note');
|
sound.playMisskeySfx($i && (note.userId === $i.id) ? 'noteMy' : 'note');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let connection: Misskey.ChannelConnection | null = null;
|
let connection: Misskey.ChannelConnection | null = null;
|
||||||
|
|
|
@ -26,6 +26,8 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
:withReplies="withReplies"
|
:withReplies="withReplies"
|
||||||
:withSensitive="withSensitive"
|
:withSensitive="withSensitive"
|
||||||
:onlyFiles="onlyFiles"
|
:onlyFiles="onlyFiles"
|
||||||
|
:sound="true"
|
||||||
|
:customSound="soundSetting"
|
||||||
/>
|
/>
|
||||||
</XColumn>
|
</XColumn>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue