2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

some fixes for mac build, 0.8.58.dev version

This commit is contained in:
John Preston
2015-09-22 13:19:57 +03:00
parent 776688383c
commit b3cb6fc317
10 changed files with 16 additions and 15 deletions

View File

@@ -734,8 +734,8 @@ void ContactsInner::peopleReceived(const QString &query, const QVector<MTPPeer>
PeerData *p = App::peer(peerId);
if (!p) continue;
if ((!p->isUser() || p->asUser()->botInfo && p->asUser()->botInfo->cantJoinGroups) && (_chat || _creating != CreatingGroupNone)) continue; // skip bot's that can't be invited to groups
if (p->isUser() && p->asUser()->botInfo && _creating == CreatingGroupChannel) continue; // skip bots in channels
if ((!p->isUser() || (p->asUser()->botInfo && p->asUser()->botInfo->cantJoinGroups)) && (_chat || _creating != CreatingGroupNone)) continue; // skip bot's that can't be invited to groups
if (p->isUser() && p->asUser()->botInfo && _channel) continue; // skip bots in channels
ContactData *d = new ContactData();
_byUsernameDatas.push_back(d);