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
gajim
gajim
Commits
cf9e5fe9
Commit
cf9e5fe9
authored
May 14, 2022
by
Daniel Brötzmann
Browse files
fix: Handle missing trust data when displaying messages
Fixes
#10856
parent
d5de3f24
Changes
1
Hide whitespace changes
Inline
Side-by-side
gajim/gtk/conversation/rows/message.py
View file @
cf9e5fe9
...
...
@@ -394,8 +394,10 @@ def _get_encryption_details(additional_data: AdditionalDataDict
fingerprint
=
additional_data
.
get_value
(
'encrypted'
,
'fingerprint'
)
trust_data
=
additional_data
.
get_value
(
'encrypted'
,
'trust'
)
trust
=
Trust
(
trust_data
)
return
name
,
fingerprint
,
trust
if
trust_data
is
not
None
:
trust_data
=
Trust
(
trust_data
)
return
name
,
fingerprint
,
trust_data
@
property
def
has_receipt
(
self
)
->
bool
:
...
...
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