spikecodes
5 months ago
No known key found for this signature in database
GPG Key ID: 4CECFF9B463BCB
3 changed files with
3 additions and
3 deletions
-
Cargo.lock
-
Cargo.toml
-
src/subreddit.rs
|
|
@ -555,7 +555,7 @@ checksum = "1b03d17f364a3a042d5e5d46b053bbbf82c92c9430c592dd4c064dc6ee997125" |
|
|
|
|
|
|
|
[[package]] |
|
|
|
name = "libreddit" |
|
|
|
version = "0.21.6" |
|
|
|
version = "0.21.7" |
|
|
|
dependencies = [ |
|
|
|
"askama", |
|
|
|
"async-recursion", |
|
|
|
|
|
@ -3,7 +3,7 @@ name = "libreddit" |
|
|
|
description = " Alternative private front-end to Reddit" |
|
|
|
license = "AGPL-3.0" |
|
|
|
repository = "https://github.com/spikecodes/libreddit" |
|
|
|
version = "0.21.6" |
|
|
|
version = "0.21.7" |
|
|
|
authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"] |
|
|
|
edition = "2021" |
|
|
|
|
|
|
|
|
|
@ -211,7 +211,7 @@ pub async fn subscriptions_filters(req: Request<Body>) -> Result<Response<Body>, |
|
|
|
.unwrap_or_default(); |
|
|
|
|
|
|
|
// Find each subreddit name (separated by '+') in sub parameter
|
|
|
|
for part in sub.split('+') { |
|
|
|
for part in sub.split('+').filter(|x| x != &"") { |
|
|
|
// Retrieve display name for the subreddit
|
|
|
|
let display; |
|
|
|
let part = if part.starts_with("u_") { |
|
|
|