forked from jmug/stoatchat
fix: only send UserMoveVoiceChannel to the user
This commit is contained in:
@@ -221,7 +221,7 @@ pub async fn edit(
|
|||||||
to: new_voice_channel.id().to_string(),
|
to: new_voice_channel.id().to_string(),
|
||||||
token,
|
token,
|
||||||
}
|
}
|
||||||
.p_user(target_user.id.clone(), db)
|
.private(target_user.id.clone())
|
||||||
.await;
|
.await;
|
||||||
};
|
};
|
||||||
} else if can_publish.is_some() || can_receive.is_some() || remove_contains_voice {
|
} else if can_publish.is_some() || can_receive.is_some() || remove_contains_voice {
|
||||||
|
|||||||
Reference in New Issue
Block a user