Compare commits

..

9 Commits

Author SHA1 Message Date
Mikhail d9bdb207cc Rollback tests 2024-04-12 21:10:16 +00:00
Mikhail 7376f4cd0a Remove checks 2024-04-12 21:10:16 +00:00
Mikhail cb03d0f409 Explain CN 2024-04-12 21:10:16 +00:00
Mikhail 37c5b6a324 Add created at to messages 2024-04-12 21:10:16 +00:00
Mikhail 3ec1faa967 Remove extra space 2024-04-12 21:10:16 +00:00
Mikhail 9f3b1049de Rename 2024-04-12 21:10:16 +00:00
Mikhail a5c51df640 Add pre-commit hook 2024-04-12 21:10:16 +00:00
Mikhail 13a3b1af62 Migrate 2024-04-12 21:10:16 +00:00
Nikita Vilunov cccc05afe9 xmpp: ignore text elements with spaces at the stream root 2024-04-11 23:08:09 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ async fn socket_final(
res = &mut next_xml_event => 's: { res = &mut next_xml_event => 's: {
let (ns, event) = res?; let (ns, event) = res?;
if let Event::Text(ref e) = event { if let Event::Text(ref e) = event {
if e.iter().all(|x| *x == 0xA) { if e.iter().all(|x| *x == b'\n' || *x == b' ') {
break 's true; break 's true;
} }
} }