diff options
| author | SavagePeanut <sourcehut@lazytapir.com> | 2023-09-03 20:40:20 -0500 |
|---|---|---|
| committer | SavagePeanut <sourcehut@lazytapir.com> | 2023-09-03 20:40:20 -0500 |
| commit | f4b6a50903ec6d82daf414a448e0175d79293efb (patch) | |
| tree | b00247bc04fcb1b6cde8fcdb7d98ebc97cef9123 /src/lib.rs | |
| parent | 788f64389f5479fcd23844740e7401a8a7870294 (diff) | |
fix newlines for matrix
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -3,7 +3,10 @@ use pyo3::prelude::*; mod parser; mod telegram; -use telegram::parse_for_telegram; +use telegram::format_for_telegram; + +mod matrix; +use matrix::format_for_matrix; mod general; use general::format_body; @@ -11,6 +14,7 @@ use general::format_body; #[pymodule] fn slidge_style_parser(_py: Python, m: &PyModule) -> PyResult<()> { m.add_function(wrap_pyfunction!(format_body, m)?)?; - m.add_function(wrap_pyfunction!(parse_for_telegram, m)?)?; + m.add_function(wrap_pyfunction!(format_for_matrix, m)?)?; + m.add_function(wrap_pyfunction!(format_for_telegram, m)?)?; Ok(()) } |
