Add support for roezio / importing xdg value

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-08-21 21:17:10 +02:00
parent 5a14785334
commit e9d166c0a1
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2
2 changed files with 7 additions and 1 deletions

View file

@ -2,6 +2,7 @@ Version 0.7.0:
xxxx-xx-xx Maxime “pep” Buquet <pep@bouah.net> xxxx-xx-xx Maxime “pep” Buquet <pep@bouah.net>
* Changes: * Changes:
- Add own-key support to fingerprint method. Requires Poezio 237fd74. - Add own-key support to fingerprint method. Requires Poezio 237fd74.
- Add support for roezio (Rust re-impl.).
Version 0.6.0: Version 0.6.0:
2022-04-03 Maxime “pep” Buquet <pep@bouah.net> 2022-04-03 Maxime “pep” Buquet <pep@bouah.net>

View file

@ -20,10 +20,15 @@ from typing import Dict, List, Optional, Tuple
from poezio import colors from poezio import colors
from poezio.plugin_e2ee import E2EEPlugin from poezio.plugin_e2ee import E2EEPlugin
from poezio.xdg import DATA_HOME
from poezio.theming import Theme, dump_tuple from poezio.theming import Theme, dump_tuple
from poezio.tabs import ChatTab, DynamicConversationTab, StaticConversationTab, MucTab from poezio.tabs import ChatTab, DynamicConversationTab, StaticConversationTab, MucTab
try:
from poezio.xdg import DATA_HOME
except ImportError:
from poezio.libpoezio import XDG
DATA_HOME = XDG.data_dir
from omemo.exceptions import MissingBundleException from omemo.exceptions import MissingBundleException
from slixmpp import JID from slixmpp import JID
from slixmpp.stanza import Message from slixmpp.stanza import Message