Don't panic on empty messages

This commit is contained in:
Yash Karandikar 2022-08-28 14:40:12 -05:00
parent 7ec420b23a
commit 476bcf392a

View file

@ -377,6 +377,9 @@ async fn msg_task(mut recv: UnboundedReceiverStream<QueuedMessage>) -> anyhow::R
content,
nickname,
} => {
if content.is_empty() {
continue;
}
webhook
.execute(&http, true, |w| {
if let Some(ref url) = avatar_url {