Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Yann Leboulanger
gajim-plugins
Commits
1feb914c
Commit
1feb914c
authored
Oct 07, 2017
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[omemo] Support non-ascii account names
parent
b3b812b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
omemo/ui.py
omemo/ui.py
+4
-4
No files found.
omemo/ui.py
View file @
1feb914c
...
...
@@ -449,7 +449,7 @@ class OMEMOConfigDialog(GajimPluginConfigDialog):
def
delfpr_button_clicked
(
self
,
button
,
*
args
):
active
=
self
.
B
.
get_object
(
'account_combobox'
).
get_active
()
account
=
self
.
account_store
[
active
][
0
]
account
=
self
.
account_store
[
active
][
0
]
.
decode
()
state
=
self
.
plugin
.
get_omemo_state
(
account
)
...
...
@@ -477,7 +477,7 @@ class OMEMOConfigDialog(GajimPluginConfigDialog):
def
trust_button_clicked_cb
(
self
,
button
,
*
args
):
active
=
self
.
B
.
get_object
(
'account_combobox'
).
get_active
()
account
=
self
.
account_store
[
active
][
0
]
account
=
self
.
account_store
[
active
][
0
]
.
decode
()
state
=
self
.
plugin
.
get_omemo_state
(
account
)
...
...
@@ -522,7 +522,7 @@ class OMEMOConfigDialog(GajimPluginConfigDialog):
def
cleardevice_button_clicked_cb
(
self
,
button
,
*
args
):
active
=
self
.
B
.
get_object
(
'account_combobox'
).
get_active
()
account
=
self
.
account_store
[
active
][
0
]
account
=
self
.
account_store
[
active
][
0
]
.
decode
()
self
.
plugin
.
clear_device_list
(
account
)
self
.
update_context_list
()
...
...
@@ -576,7 +576,7 @@ class OMEMOConfigDialog(GajimPluginConfigDialog):
self
.
B
.
get_object
(
'qrcode'
).
clear
()
return
active
=
self
.
B
.
get_object
(
'account_combobox'
).
get_active
()
account
=
self
.
account_store
[
active
][
0
]
account
=
self
.
account_store
[
active
][
0
]
.
decode
()
# Set buttons active
self
.
B
.
get_object
(
'trust_button'
).
set_sensitive
(
True
)
...
...
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