forked from jmug/stoatchat
feat: implement DelayedTask and last_id task
This commit is contained in:
@@ -220,5 +220,13 @@ pub async fn message_send(
|
||||
)
|
||||
.await;
|
||||
|
||||
// ! ANOTHER ONE
|
||||
crate::tasks::last_message_id::queue(
|
||||
channel.id().to_string(),
|
||||
message.id.to_string(),
|
||||
channel.is_direct_dm(),
|
||||
)
|
||||
.await;
|
||||
|
||||
Ok(Json(message))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user