Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Malte L
gajim-plugins
Commits
5da86746
Commit
5da86746
authored
Apr 15, 2017
by
Philipp Hörist
Browse files
[omemo] Add aesgcm to Gajims uri schemes
parent
49ed50c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
omemo/omemoplugin.py
View file @
5da86746
...
...
@@ -137,6 +137,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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment