summaryrefslogtreecommitdiff
path: root/poezio/connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/connection.py')
-rw-r--r--poezio/connection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/connection.py b/poezio/connection.py
index 503d9169..b0c6fb45 100644
--- a/poezio/connection.py
+++ b/poezio/connection.py
@@ -27,7 +27,7 @@ from slixmpp.util import FileSystemCache
from poezio import common
from poezio import fixes
-from poezio import xdg
+from poezio.libpoezio import XDG
from poezio.config import config
@@ -136,7 +136,7 @@ class Connection(slixmpp.ClientXMPP):
'https://poez.io',
'cache':
FileSystemCache(
- str(xdg.CACHE_HOME),
+ str(XDG.cache_dir),
'caps',
encode=str,
decode=lambda x: DiscoInfo(ET.fromstring(x))),