mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 11:46:43 -06:00
use note capture
This commit is contained in:
parent
dc5a52b75b
commit
465a710b4b
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ export function useNoteCapture(props: {
|
||||||
onDeleteCallback?: (id: Misskey.entities.Note['id']) => void | Promise<void>;
|
onDeleteCallback?: (id: Misskey.entities.Note['id']) => void | Promise<void>;
|
||||||
}) {
|
}) {
|
||||||
const note = props.note;
|
const note = props.note;
|
||||||
const pureNote = props.pureNote;
|
const pureNote = props.pureNote !== undefined ? props.pureNote : props.note;
|
||||||
const connection = $i ? useStream() : null;
|
const connection = $i ? useStream() : null;
|
||||||
|
|
||||||
async function onStreamNoteUpdated(noteData): Promise<void> {
|
async function onStreamNoteUpdated(noteData): Promise<void> {
|
||||||
|
|
Loading…
Reference in a new issue