fixed another stupid bug
This commit is contained in:
+1
-1
@@ -569,7 +569,7 @@ async fn add_posts(http: &Http, c_id: ChannelId, r_data: &Map<String, Value>, ms
|
||||
.any(|key| msgs_json[key].as_object().unwrap().contains_key(url))
|
||||
{ continue; }
|
||||
|
||||
let post_date = r_data[url]["date_unix"].as_u64().unwrap();
|
||||
let post_date = r_data[url]["post_data"]["date_unix"].as_u64().unwrap();
|
||||
if now - post_date > max_age { continue; }
|
||||
|
||||
if r_data[url].get("removed").is_some() {
|
||||
|
||||
Reference in New Issue
Block a user