diff options
Diffstat (limited to 'protocols/Telegram/src/options.cpp')
-rw-r--r-- | protocols/Telegram/src/options.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Telegram/src/options.cpp b/protocols/Telegram/src/options.cpp index bb27acf95a..8b31ce3c1c 100644 --- a/protocols/Telegram/src/options.cpp +++ b/protocols/Telegram/src/options.cpp @@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. class COptionsDlg : public CTelegramDlgBase
{
CCtrlButton btnLogout;
- CCtrlCheck chkHideChats, chkUsePopups, chkCompressFiles, chkIncludePreviews;
+ CCtrlCheck chkHideChats, chkUsePopups, chkCompressFiles, chkIncludePreviews, chkResidentChannels;
CCtrlCombo cmbCountry;
CCtrlEdit edtGroup, edtPhone, edtDeviceName;
ptrW m_wszOldGroup;
@@ -39,6 +39,7 @@ public: edtDeviceName(this, IDC_DEVICE_NAME),
chkCompressFiles(this, IDC_COMPRESS_FILES),
chkIncludePreviews(this, IDC_USE_PREVIEW),
+ chkResidentChannels(this, IDC_RESIDENT_CHANNELS),
m_wszOldGroup(mir_wstrdup(ppro->m_wszDefaultGroup))
{
CreateLink(edtPhone, ppro->m_szOwnPhone);
@@ -50,6 +51,7 @@ public: CreateLink(chkUsePopups, ppro->m_bUsePopups);
CreateLink(chkCompressFiles, ppro->m_bCompressFiles);
CreateLink(chkIncludePreviews, ppro->m_bIncludePreviews);
+ CreateLink(chkResidentChannels, ppro->m_bResidentChannels);
}
btnLogout.OnClick = Callback(this, &COptionsDlg::onClick_Logout);
|