diff options
author | mathieui <mathieui@mathieui.net> | 2014-10-16 18:49:32 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-10-16 18:56:12 +0200 |
commit | a9f642f7438fe4489cdb9cc5ac59c929054656c8 (patch) | |
tree | 5ce6cba2105f178f92235fa325725941a5c9924c /data | |
parent | d4590949f7b691e3e1d6eff8fa339e62a44bae51 (diff) | |
download | poezio-a9f642f7438fe4489cdb9cc5ac59c929054656c8.tar.gz poezio-a9f642f7438fe4489cdb9cc5ac59c929054656c8.tar.bz2 poezio-a9f642f7438fe4489cdb9cc5ac59c929054656c8.tar.xz poezio-a9f642f7438fe4489cdb9cc5ac59c929054656c8.zip |
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
Diffstat (limited to 'data')
-rw-r--r-- | data/default_config.cfg | 8 |
1 files changed, 8 insertions, 0 deletions
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 |