note_follows: remove unneeded derefence
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -49,7 +49,7 @@ fn note_follows(contacts_note: Note<'_>, pk: &[u8; 32]) -> bool {
|
||||
continue;
|
||||
};
|
||||
|
||||
if *pk == *author {
|
||||
if pk == author {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user