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

Suggest inviting by link if privacy disallows adding.

This commit is contained in:
John Preston
2023-03-10 18:43:20 +04:00
parent 7682ccf6a7
commit f3e15c7fcd
11 changed files with 329 additions and 21 deletions

View File

@@ -48,7 +48,8 @@ enum class PeerFloodType {
void ShowAddParticipantsError(
const QString &error,
not_null<PeerData*> chat,
const std::vector<not_null<UserData*>> &users);
const std::vector<not_null<UserData*>> &users,
std::shared_ptr<Ui::Show> show = nullptr);
class AddContactBox : public Ui::BoxContent {
public: