Commit 9fef8949 authored by Philipp Hörist's avatar Philipp Hörist

[omemo] Add aesgcm to Gajims uri schemes

parent f3e381c0
......@@ -163,6 +163,12 @@ class OmemoPlugin(GajimPlugin):
for account in self.plugin.config['DISABLED_ACCOUNTS']:
self.disabled_accounts.append(account)
# add aesgcm:// uri scheme to config
schemes = gajim.config.get('uri_schemes')
if 'aesgcm://' not in schemes.split():
schemes += ' aesgcm://'
gajim.config.set('uri_schemes', schemes)
def migrate_dbpath(self, account, my_jid):
old_dbpath = os.path.join(DB_DIR_OLD, 'omemo_' + account + '.db')
new_dbpath = os.path.join(DB_DIR_NEW, 'omemo_' + my_jid + '.db')
......
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