huskies: merge 865
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
use crate::agents::{AgentPool, AgentStatus};
|
||||
use crate::chat::util::strip_bot_mention;
|
||||
use crate::io::story_metadata::parse_front_matter;
|
||||
use crate::db::yaml_legacy::parse_front_matter;
|
||||
use std::path::Path;
|
||||
|
||||
/// A parsed assign command from a Matrix message body.
|
||||
|
||||
@@ -71,7 +71,7 @@ pub async fn handle_delete(
|
||||
|
||||
let story_name = content
|
||||
.and_then(|contents| {
|
||||
crate::io::story_metadata::parse_front_matter(&contents)
|
||||
crate::db::yaml_legacy::parse_front_matter(&contents)
|
||||
.ok()
|
||||
.and_then(|m| m.name)
|
||||
})
|
||||
|
||||
@@ -90,7 +90,7 @@ pub async fn handle_start(
|
||||
|
||||
let story_name = content
|
||||
.and_then(|contents| {
|
||||
crate::io::story_metadata::parse_front_matter(&contents)
|
||||
crate::db::yaml_legacy::parse_front_matter(&contents)
|
||||
.ok()
|
||||
.and_then(|m| m.name)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user