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

Couple of crash fixes.

This commit is contained in:
John Preston
2021-09-01 13:27:36 +03:00
parent 59977da2b4
commit 6eb5d47c35
2 changed files with 2 additions and 2 deletions

View File

@@ -162,7 +162,7 @@ void AddChatMembers(
}
bool PinnedLimitReached(Dialogs::Key key, FilterId filterId) {
Expects(key.entry()->folderKnown());
Expects(filterId != 0 || key.entry()->folderKnown());
const auto entry = key.entry();
const auto owner = &entry->owner();