Skip to content

Commit 0446260

Browse files
authored
fix animation_format in not applied; fix outdated readme (#50)
1 parent c218a31 commit 0446260

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ homeserver_url = "https://matrix-client.matrix.org"
6262
access_token = "YOUR-MATIRX-ACESSTOKEN"
6363

6464
[sticker]
65-
transparent_color = { r = 0, g = 0, b = 0, alpha = true }
65+
transparent_color = { r = 0, g = 0, b = 0, a = true }
6666
animation_format = "webp"
6767
```
6868
The `[sticker]` section is optional and can be left out.

mstickereditor/src/sub_commands/import.rs

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ pub async fn run(mut opt: Opt) -> anyhow::Result<()> {
6060
import_config.dry_run = opt.dryrun;
6161
import_config.keep_webm = opt.keep_webm;
6262
import_config.keep_lottie = opt.keep_lottie;
63+
import_config.animation_format = config.sticker;
6364
let import_config = import_config;
6465
let mut empty_packs = Vec::new();
6566

0 commit comments

Comments
 (0)