We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 486ea07 commit 27f2c7eCopy full SHA for 27f2c7e
src/conn.c
@@ -1485,7 +1485,7 @@ static int sm_store_u32(unsigned char **next_,
1485
static size_t sm_state_serialize(xmpp_conn_t *conn, unsigned char **buf)
1486
{
1487
if (!conn->sm_state->sm_support || !conn->sm_state->sm_enabled ||
1488
- !conn->sm_state->can_resume) {
+ !conn->sm_state->can_resume || !conn->sm_state->id) {
1489
*buf = NULL;
1490
return 0;
1491
}
0 commit comments