Commit f4b48263 authored by Philipp Hörist's avatar Philipp Hörist

[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.
parent d31bfcf0
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment