mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 10:11:41 -05:00
Fix crash in unlinking discussion group.
This commit is contained in:
parent
ea61211a61
commit
d7ab7aed62
1 changed files with 1 additions and 1 deletions
|
@ -1102,7 +1102,7 @@ void Controller::saveLinkedChat() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto chat = *_savingData.linkedChat;
|
const auto chat = *_savingData.linkedChat;
|
||||||
if (channel->isBroadcast() && chat->hiddenPreHistory()) {
|
if (channel->isBroadcast() && chat && chat->hiddenPreHistory()) {
|
||||||
togglePreHistoryHidden(
|
togglePreHistoryHidden(
|
||||||
chat,
|
chat,
|
||||||
false,
|
false,
|
||||||
|
|
Loading…
Add table
Reference in a new issue