From a9f642f7438fe4489cdb9cc5ac59c929054656c8 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 16 Oct 2014 18:49:32 +0200 Subject: Extract XHTML-IM inline imags by default - Add two new options: tmp_image_dir and extract_inline_images - tmp_image_dir is $XDG_CACHE_HOME(usually ~/.cache)/poezio/images if unset - Name the images from a SHA-1 of their data and their mimetype - Output file:// links inside the message --- data/default_config.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'data') diff --git a/data/default_config.cfg b/data/default_config.cfg index c1f766b0..35bc498b 100644 --- a/data/default_config.cfg +++ b/data/default_config.cfg @@ -379,6 +379,14 @@ ack_message_receipts = true # Ask for message delivery receipts (XEP-0184) request_message_receipts = true +# Extract base64 images received in XHTML-IM messages +# if true. +extract_inline_images = true + +# The directory where the images will be saved; if unset, +# defaults to $XDG_CACHE_HOME/poezio/images. +tmp_image_dir = + # Receive the tune notifications or not (in order to display informations # in the roster). # If this is set to false, then the display_tune_notifications -- cgit v1.2.3