Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2020-05-21 00:46:02 +0300
committerlovetox <philipp@hoerist.com>2020-05-21 00:46:02 +0300
commitf4b48263a8a188a5f2a54ad7afa866a287dc5bb2 (patch)
tree8dc6069390dcdd52d5dc37ece9c118035dfcaef4 /openpgp
parentd31bfcf033522daa67111f64d8c25757e2a7551c (diff)
[openpgp] Remove JID converter
Converters are registered at sqlite3 module level, the OMEMO plugin also registers a converter which works differently. The converter in the OpenPGP plugin is not used so lets remove it.
Diffstat (limited to 'openpgp')
-rw-r--r--openpgp/backend/sql.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/openpgp/backend/sql.py b/openpgp/backend/sql.py
index d15ded6..29a0cdc 100644
--- a/openpgp/backend/sql.py
+++ b/openpgp/backend/sql.py
@@ -38,12 +38,7 @@ def _jid_adapter(jid):
return str(jid)
-def _jid_converter(jid):
- return JID(jid.decode())
-
-
sqlite3.register_adapter(JID, _jid_adapter)
-sqlite3.register_converter('JID', _jid_converter)
class Storage: