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
42f84da4
Commit
42f84da4
authored
Apr 06, 2017
by
Richard Bayerle
Browse files
Update to new libomemo, strips XHTML-IM and multiple bodies.
Fixes #43.
parent
fcccfad1
Changes
2
Hide whitespace changes
Inline
Side-by-side
libomemo
@
2d210efe
Compare
00b5f90a
...
2d210efe
Subproject commit
00b5f90a996c18f87a887a9602173921244c9f40
Subproject commit
2d210efed1d8b7bb8cb5f7b7c263e19b09d5ba19
src/lurch.c
View file @
42f84da4
...
...
@@ -1515,7 +1515,7 @@ static void lurch_message_encrypt_im(PurpleConnection * gc_p, xmlnode ** msg_sta
goto
cleanup
;
}
tempxml
=
xmlnode_to_str
(
*
msg_stanza_pp
,
&
len
);
ret_val
=
omemo_message_prepare_encryption
(
tempxml
,
own_id
,
&
crypto
,
&
msg_p
);
ret_val
=
omemo_message_prepare_encryption
(
tempxml
,
own_id
,
&
crypto
,
OMEMO_STRIP_ALL
,
&
msg_p
);
if
(
ret_val
)
{
err_msg_dbg
=
g_strdup_printf
(
"failed to construct omemo message"
);
goto
cleanup
;
...
...
@@ -1646,7 +1646,7 @@ static void lurch_message_encrypt_groupchat(PurpleConnection * gc_p, xmlnode **
goto
cleanup
;
}
tempxml
=
xmlnode_to_str
(
*
msg_stanza_pp
,
&
len
);
ret_val
=
omemo_message_prepare_encryption
(
tempxml
,
own_id
,
&
crypto
,
&
om_msg_p
);
ret_val
=
omemo_message_prepare_encryption
(
tempxml
,
own_id
,
&
crypto
,
OMEMO_STRIP_ALL
,
&
om_msg_p
);
if
(
ret_val
)
{
err_msg_dbg
=
g_strdup_printf
(
"failed to construct omemo message"
);
goto
cleanup
;
...
...
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