1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 21:39:21 +00:00

Increase thumbnail size

This commit is contained in:
Pierre HUBERT 2021-03-10 19:30:30 +01:00
parent 1484226bfd
commit d9ac134da0

View File

@ -352,7 +352,7 @@ pub fn send_message(r: &mut HttpRequestHandler) -> RequestResult {
// Attempt to save thumbnail, if it fails we can not save message // Attempt to save thumbnail, if it fails we can not save message
let thumbnail = match thumbnail { let thumbnail = match thumbnail {
None => None, None => None,
Some(f) => Some(match r.save_post_image(&f, "conversations-thumb", 200, 200) { Some(f) => Some(match r.save_post_image(&f, "conversations-thumb", 300, 300) {
Ok(s) => Ok(s), Ok(s) => Ok(s),
Err(e) => { Err(e) => {
eprintln!("Failed to save conversation thumbnail! {:#?}", e); eprintln!("Failed to save conversation thumbnail! {:#?}", e);