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