small change to comment

This commit is contained in:
Lhc_fl 2025-03-03 23:46:31 +08:00
parent 381046a6b1
commit 8d487be4be
No known key found for this signature in database
GPG key ID: 3A10435B21EDC6AA

View file

@ -83,10 +83,9 @@ export default abstract class Channel {
}
/**
* Please make sure you did `assignMyReaction` before this function.
* See Dakker's comment regarding the same object will leading to wrong value.
* @param note The note to **CHANGE**
* @see assignMyReaction
* This function modifies {@link note}, please make sure it has been shallow cloned.
* See Dakkar's comment of {@link assignMyReaction} for more
* @param note The note to change
*/
protected async hideNote(note: Packed<'Note'>): Promise<void> {
if (note.renote) {