Merge pull request #600 from Jman012/master

Fixed a bug or two.
This commit is contained in:
irungentoo 2013-09-22 10:53:00 -07:00
commit 115cb8af02

View File

@ -1182,6 +1182,8 @@ void doFriends(Messenger *m)
if (m->group_invite) if (m->group_invite)
(*m->group_invite)(m, i, data, m->group_invite_userdata); (*m->group_invite)(m, i, data, m->group_invite_userdata);
break;
} }
case PACKET_ID_JOIN_GROUPCHAT: { case PACKET_ID_JOIN_GROUPCHAT: {
@ -1197,6 +1199,12 @@ void doFriends(Messenger *m)
break; break;
group_newpeer(m->chats[groupnum], data + crypto_box_PUBLICKEYBYTES); group_newpeer(m->chats[groupnum], data + crypto_box_PUBLICKEYBYTES);
break;
}
default: {
break;
} }
} }
} else { } else {