diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-07-05 16:19:03 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-07-05 16:19:03 +0200 |
commit | 91d22aacba8da9d5379313bd25e9c5f74a3ad160 (patch) | |
tree | 7a6c2e74efe786343a2c0d77c43ddc41be6966f6 | |
parent | c66ae524be4a6a6b414010d04bfd45cfb867245e (diff) | |
download | poezio-91d22aacba8da9d5379313bd25e9c5f74a3ad160.tar.gz poezio-91d22aacba8da9d5379313bd25e9c5f74a3ad160.tar.bz2 poezio-91d22aacba8da9d5379313bd25e9c5f74a3ad160.tar.xz poezio-91d22aacba8da9d5379313bd25e9c5f74a3ad160.zip |
core.handlers: Correctly import get_image_cache() from poezio.config.
-rw-r--r-- | poezio/core/handlers.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index 25cb15b3..a3b0d8fc 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -30,7 +30,7 @@ from poezio import tabs from poezio import xhtml from poezio import multiuserchat as muc from poezio.common import safeJID -from poezio.config import config +from poezio.config import config, get_image_cache from poezio.core.structs import Status from poezio.contact import Resource from poezio.logger import logger @@ -274,7 +274,7 @@ class HandlerCore: use_xhtml = config.get_by_tabname('enable_xhtml_im', message['from'].bare) - tmp_dir = config.get_image_cache() + tmp_dir = get_image_cache() body = xhtml.get_body_from_message_stanza( message, use_xhtml=use_xhtml, @@ -666,7 +666,7 @@ class HandlerCore: self.core.events.trigger('muc_msg', message, tab) use_xhtml = config.get_by_tabname('enable_xhtml_im', room_from) - tmp_dir = config.get_image_cache() + tmp_dir = get_image_cache() body = xhtml.get_body_from_message_stanza( message, use_xhtml=use_xhtml, @@ -742,7 +742,7 @@ class HandlerCore: room_from = jid.bare use_xhtml = config.get_by_tabname('enable_xhtml_im', jid.bare) - tmp_dir = config.get_image_cache() + tmp_dir = get_image_cache() body = xhtml.get_body_from_message_stanza( message, use_xhtml=use_xhtml, |