mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Replace t_assert() with Assert().
Also use this assertions for Expects(), Ensures() and Unexpected().
This commit is contained in:
@@ -397,7 +397,7 @@ void GroupInfoBox::createGroup(not_null<PeerListBox*> selectUsersBox, const QStr
|
||||
inputs.reserve(users.size());
|
||||
for (auto peer : users) {
|
||||
auto user = peer->asUser();
|
||||
t_assert(user != nullptr);
|
||||
Assert(user != nullptr);
|
||||
if (!user->isSelf()) {
|
||||
inputs.push_back(user->inputUser);
|
||||
}
|
||||
|
Reference in New Issue
Block a user