Last fix didn't really work well.

This one should work better.
This commit is contained in:
irungentoo 2014-11-15 16:42:13 -05:00
parent fef8dff0f2
commit 76d14acafa
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98

View File

@ -1175,7 +1175,7 @@ int group_title_send(const Group_Chats *g_c, int groupnumber, const uint8_t *tit
memcpy(g->title, title, title_len); memcpy(g->title, title, title_len);
g->title_len = title_len; g->title_len = title_len;
if (g->status != GROUPCHAT_STATUS_CONNECTED) if (g->numpeers == 1)
return 0; return 0;
if (send_message_group(g_c, groupnumber, GROUP_MESSAGE_TITLE_ID, title, title_len)) if (send_message_group(g_c, groupnumber, GROUP_MESSAGE_TITLE_ID, title, title_len))