feature: make thread in Twitter thread in Mastodon

This commit is contained in:
VC
2022-04-23 13:39:41 +02:00
parent abfb2ff50a
commit 13bb6d6f37
5 changed files with 142 additions and 86 deletions

View File

@@ -1,24 +1,16 @@
// auto imports
use crate::config::MastodonConfig;
// std
use std::{
borrow::Cow,
error::Error,
collections::HashMap,
io::stdin,
};
// htmlescape
use htmlescape::decode_html;
// egg-mode
use egg_mode::{
tweet::Tweet,
entities::{UrlEntity, MentionEntity},
};
// elefren
use elefren::{
prelude::*,
apps::App,