2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Add basic HTML export.

This commit is contained in:
John Preston
2018-06-23 21:27:41 +01:00
parent e708065446
commit 9d66f9cc03
22 changed files with 1904 additions and 66 deletions

View File

@@ -69,13 +69,15 @@ LocationKey ComputeLocationKey(const Data::FileLocation &value) {
Settings::Type SettingsFromDialogsType(Data::DialogInfo::Type type) {
using DialogType = Data::DialogInfo::Type;
switch (type) {
case DialogType::Self:
case DialogType::Personal:
return Settings::Type::PersonalChats;
case DialogType::Bot:
return Settings::Type::BotChats;
case DialogType::PrivateGroup:
case DialogType::PrivateSupergroup:
return Settings::Type::PrivateGroups;
case DialogType::PublicGroup:
case DialogType::PublicSupergroup:
return Settings::Type::PublicGroups;
case DialogType::PrivateChannel:
return Settings::Type::PrivateChannels;