Mercurial > libervia-backend
comparison sat/plugins/plugin_xep_0384.py @ 3098:518208085dfb
plugin XEP-0384: typo
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 20 Dec 2019 14:26:05 +0100 |
parents | c048fc192739 |
children | 118d91c932a7 |
comparison
equal
deleted
inserted
replaced
3097:2a7dfe43b161 | 3098:518208085dfb |
---|---|
382 version=omemo.__version__)) | 382 version=omemo.__version__)) |
383 version = tuple(map(int, omemo.__version__.split('.')[:3])) | 383 version = tuple(map(int, omemo.__version__.split('.')[:3])) |
384 if version < OMEMO_MIN_VER: | 384 if version < OMEMO_MIN_VER: |
385 log.warning(_( | 385 log.warning(_( |
386 "Your version of omemo module is too old: {v[0]}.{v[1]}.{v[2]} is " | 386 "Your version of omemo module is too old: {v[0]}.{v[1]}.{v[2]} is " |
387 "minimum required), please update.").format(v=OMEMO_MIN_VER)) | 387 "minimum required, please update.").format(v=OMEMO_MIN_VER)) |
388 raise exceptions.CancelError("module is too old") | 388 raise exceptions.CancelError("module is too old") |
389 self.host = host | 389 self.host = host |
390 self._p_hints = host.plugins["XEP-0334"] | 390 self._p_hints = host.plugins["XEP-0334"] |
391 self._p_carbons = host.plugins["XEP-0280"] | 391 self._p_carbons = host.plugins["XEP-0280"] |
392 self._p = host.plugins["XEP-0060"] | 392 self._p = host.plugins["XEP-0060"] |