mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 20:03:12 +00:00
Support user.linked_community_id from layer 229
This commit is contained in:
@@ -686,6 +686,8 @@ not_null<UserData*> Session::processUser(const MTPUser &data) {
|
||||
result->setFlags((result->flags() & ~flagsMask) | flagsSet);
|
||||
result->setBotVerifyDetailsIcon(
|
||||
data.vbot_verification_icon().value_or_empty());
|
||||
result->setLinkedCommunityId(
|
||||
data.vlinked_community_id().value_or_empty());
|
||||
if (!minimal) {
|
||||
if (storiesState) {
|
||||
result->setStoriesState(storiesState->hasVideoStream
|
||||
@@ -5516,7 +5518,8 @@ void Session::serviceNotification(
|
||||
MTPPeerColor(), // profile_color
|
||||
MTPint(), // bot_active_users
|
||||
MTPlong(), // bot_verification_icon
|
||||
MTPlong())); // send_paid_messages_stars
|
||||
MTPlong(), // send_paid_messages_stars
|
||||
MTPlong())); // linked_community_id
|
||||
}
|
||||
const auto history = this->history(PeerData::kServiceNotificationsId);
|
||||
const auto insert = [=] {
|
||||
|
||||
Reference in New Issue
Block a user