forked from jmug/stoatchat
refactor: don't create unnecessary reference
This commit is contained in:
@@ -96,7 +96,7 @@ pub async fn req(
|
||||
|
||||
// Queue up a task for processing embeds if the we have sufficient permissions
|
||||
if permissions
|
||||
.has_permission(&db, Permission::SendEmbeds)
|
||||
.has_permission(db, Permission::SendEmbeds)
|
||||
.await?
|
||||
{
|
||||
if let Some(content) = edit.content {
|
||||
|
||||
Reference in New Issue
Block a user