fix: update branch from main

This commit is contained in:
Zomatree
2025-05-01 16:58:35 +01:00
parent 61038ddcf1
commit 48e0b48ea9
5 changed files with 12 additions and 4 deletions

View File

@@ -477,7 +477,7 @@ impl Message {
}
// Validate the mentions go to users in the channel/server
if !mentions.is_empty() {
if !user_mentions.is_empty() {
#[allow(deprecated)]
match channel {
Channel::DirectMessage { ref recipients, .. }