2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Update API scheme to layer 93. Broken.

This commit is contained in:
John Preston
2019-01-03 18:39:19 +04:00
parent 47edb71a68
commit d2d6b319b6
38 changed files with 486 additions and 463 deletions

View File

@@ -283,7 +283,7 @@ rpl::producer<bool> CanAddMemberValue(
chat,
Notify::PeerUpdate::Flag::ChatCanEdit
) | rpl::map([chat] {
return chat->canEdit();
return chat->canEditInformation(); // #TODO groups
});
} else if (auto channel = peer->asChannel()) {
return Notify::PeerUpdateValue(