mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(core): remove pgc code
This code was needed for the pgc implementation, but is not needed for minipgc
This commit is contained in:
parent
e0bcad21b4
commit
10a4b249bb
|
@ -460,21 +460,11 @@ void Core::onGroupInvite(Tox* tox, uint32_t friendId, Tox_Conference_Type type,
|
|||
switch (type) {
|
||||
case TOX_CONFERENCE_TYPE_TEXT:
|
||||
qDebug() << QString("Text group invite by %1").arg(friendId);
|
||||
if (friendId == UINT32_MAX) {
|
||||
// Rejoining existing (persistent) conference after disconnect and reconnect.
|
||||
tox_conference_join(tox, friendId, cookie, length, nullptr);
|
||||
return;
|
||||
}
|
||||
emit core->groupInviteReceived(inviteInfo);
|
||||
break;
|
||||
|
||||
case TOX_CONFERENCE_TYPE_AV:
|
||||
qDebug() << QString("AV group invite by %1").arg(friendId);
|
||||
if (friendId == UINT32_MAX) {
|
||||
// Rejoining existing (persistent) AV conference after disconnect and reconnect.
|
||||
toxav_join_av_groupchat(tox, friendId, cookie, length, CoreAV::groupCallCallback, core);
|
||||
return;
|
||||
}
|
||||
emit core->groupInviteReceived(inviteInfo);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user