diff --git a/src/plugins/plugin_xep_0054.py b/src/plugins/plugin_xep_0054.py index 1ad83583..ec5b37c1 100755 --- a/src/plugins/plugin_xep_0054.py +++ b/src/plugins/plugin_xep_0054.py @@ -226,6 +226,8 @@ class XEP_0054(object): ext = mimetypes.guess_extension(mime_type, strict=False) assert ext is not None + if ext == u'.jpe': + ext = u'.jpg' log.debug(u'photo of type {type} with extension {ext} found [{jid}]'.format( type=mime_type, ext=ext, jid=entity_jid.full())) try: