Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
lurch
Commits
dd18b3b9
Commit
dd18b3b9
authored
May 28, 2020
by
Guido Gunther
Browse files
Report decryption failure to user
This makes sure users know they're missing messages
parent
d03e4735
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lurch.c
View file @
dd18b3b9
...
...
@@ -1806,7 +1806,11 @@ static void lurch_message_decrypt(PurpleConnection * gc_p, xmlnode ** msg_stanza
goto
cleanup
;
}
if
(
!
key_p
)
{
const
char
*
to
=
room_name
?:
sender
;
purple_debug_info
(
"lurch"
,
"received omemo message that does not contain a key for this device, skipping
\n
"
);
purple_conv_present_error
(
to
,
purple_connection_get_account
(
gc_p
),
"Received omemo message that does not contain a key for this device"
);
goto
cleanup
;
}
...
...
Write
Preview
Supports
Markdown
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