refactor: change Channel::id to return a reference
This commit is contained in:
@@ -36,7 +36,7 @@ pub async fn unreact_message(
|
||||
}
|
||||
|
||||
// Fetch relevant message
|
||||
let message = msg.as_message_in_channel(db, &channel.id()).await?;
|
||||
let message = msg.as_message_in_channel(db, channel.id()).await?;
|
||||
|
||||
// Check if we should wipe all of this reaction
|
||||
if remove_all {
|
||||
|
||||
Reference in New Issue
Block a user