Check if online.
This commit is contained in:
@@ -119,9 +119,9 @@ impl Message {
|
|||||||
match &channel {
|
match &channel {
|
||||||
Channel::DirectMessage { recipients, .. } | Channel::Group { recipients, .. } => {
|
Channel::DirectMessage { recipients, .. } | Channel::Group { recipients, .. } => {
|
||||||
for recipient in recipients {
|
for recipient in recipients {
|
||||||
// if !is_online(recipient) {
|
if !is_online(recipient) {
|
||||||
target_ids.push(recipient.clone());
|
target_ids.push(recipient.clone());
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
|
|||||||
Reference in New Issue
Block a user