John Preston
638d4d63c5
Update API scheme to layer 115.
2020-07-25 11:24:11 +04:00
John Preston
d4feb16378
Don't mark as read when scheduling messages.
2020-07-23 17:46:52 +04:00
23rd
2ebf44c166
Removed unused code from apiwrap.
2020-07-17 18:22:38 +03:00
23rd
c350e33dd8
Moved preparing MTPInputMedia to separate file.
2020-07-17 18:22:37 +03:00
John Preston
900f7e1304
Try recursive lambda without make_shared.
2020-07-14 19:02:45 +04:00
Sean Wei
556aa28df6
Remove unused variable
...
The following are commits related to removed variables.
apiwrap.cpp
e050e27
: kSaveDraftBeforeQuitTimeout
app.cpp
113f665
: serviceImageCacheSize
boxes/auto_download_box.cpp
a0c6104
: checked(Source source, Type type)
boxes/background_preview_box.cpp
b6edf45
: resultBytesPerPixel
fe21b5a
: ms
boxes/calendar_box.cpp
ae97704
: yearIndex, monthIndex
99bb093
: ms
boxes/connection_box.cpp
f794d8d
: ping
boxes/dictionaries_manager.cpp
8353867
: session
boxes/peer_list_box.cpp
2ce2a14
: grayedWidth
boxes/peers/add_participants_box.cpp
07e010d
: chat, channel
boxes/self_destruction_box.cpp
fe9f02e
: count
chat_helpers/emoji_suggestions_widget.cpp
a12bc60
: is(QLatin1String string)
chat_helpers/field_autocomplete.cpp
8c7a35c
: atwidth, hashwidth
chat_helpers/gifs_list_widget.cpp
ff65734
: inlineItems
3d846fc
: newSelected
d1687ab
: kSaveDraftBeforeQuitTimeout
chat_helpers/stickers_dice_pack.cpp
c83e297
: kZeroDiceDocumentId
chat_helpers/stickers_emoji_pack.cpp
d298953
: length
chat_helpers/stickers_list_widget.cpp
eb75859
: index, x
core/crash_reports.cpp
5940ae6
: LaunchedDateTimeStr, LaunchedBinaryName
data/data_changes.cpp
3c4e959:clearRealtime
data/data_cloud_file.cpp
4b354b0
: fromCloud, cacheTag
data/data_document_media.cpp
7db5359
: kMaxVideoFrameArea
data/data_messages.cpp
794e315
: wasCount
data/data_photo_media.cpp
e27d2bc
: index
data/data_wall_paper.cpp
b6edf45
: resultBytesPerPixel
data/data_types.cpp
aa8f62d
: kWebDocumentCacheTag, kStorageCacheMask
history/admin_log/history_admin_log_inner.cpp
794e315
: canDelete, canForward
history/history_location_manager.cpp
60f45ab
: kCoordPrecision
9f90d3a
: kMaxHttpRedirects
history/history_message.cpp
cedf8a6
: kPinnedMessageTextLimit
history/history_widget.cpp
b305924
: serviceColor
efa5fc4
: hasForward
5e7aa4f
: kTabbedSelectorToggleTooltipTimeoutMs, kTabbedSelectorToggleTooltipCount
history/view/history_view_context_menu.cpp
fe1a90b
: isVideoLink, isVoiceLink, isAudioLink
settings.cpp
e2f54eb
: defaultRecent
settings/settings_folders.cpp
e8bf5bb
: kRefreshSuggestedTimeout
ui/filter_icon_panel.cpp
c4a0bc1
: kDelayedHideTimeoutMs
window/themes/window_theme_preview.cpp
ef927c8
: mutedCounter
-----
Modified variables
boxes/stickers_box.cpp
554eb3a
: _rows[pressedIndex] -> set
data/data_notify_settings.cpp
734c410
: muteForSeconds -> muteUntil
history/view/history_view_list_widget.cpp
07528be
: _items[index] -> view
e5f3bed
: fromState, tillState
history/history.cpp
cd3c1c6
: kStatusShowClientsideRecordVideo -> kStatusShowClientsideRecordVoice
storage/download_manager_mtproto.cpp
ae8fb14
: _queues[dcId] -> queue
storage/localstorage.cpp
357caf8
: MTP::Environment::Production -> production
2020-07-13 09:33:55 +04:00
John Preston
e7b8a52278
Move terms lock from Core::App to Session.
2020-06-24 11:56:16 +04:00
John Preston
30c82bb2e0
Remove some MainWindow::sessionController() calls.
2020-06-23 21:53:44 +04:00
23rd
e318a7d65f
Simplified ranges::find_if with ranges::any_of and ranges::none_of.
2020-06-23 21:53:43 +04:00
John Preston
2635ca33f8
Move background to global settings.
2020-06-23 21:53:42 +04:00
John Preston
997913be25
One Window::Notifications system for all sessions.
2020-06-23 21:53:42 +04:00
John Preston
83538675ce
Move a lot of settings to Core::Settings.
2020-06-23 21:53:42 +04:00
John Preston
4d6cc58f0d
Move session settings to main_session_settings.
2020-06-23 21:53:42 +04:00
John Preston
3a5ede534e
Count all accounts in Core::App().unreadBadge.
2020-06-23 21:53:41 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
f450f81215
Remove non-UI calls to App::main.
2020-06-23 21:53:40 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
2020-06-23 21:53:40 +04:00
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
John Preston
0b028b959b
Move updates handling MainWidget -> Api::Updates.
2020-06-23 21:53:39 +04:00
John Preston
ee43027bea
Remove some usages of App::main().
2020-06-23 21:53:39 +04:00
John Preston
ad4afe9293
Move session data localstorage -> storage_account.
2020-06-23 21:53:39 +04:00
John Preston
fc174f742a
Move stickers code to Data::Stickers class.
2020-06-23 21:53:38 +04:00
John Preston
3878a1b212
Remove some more Auth() calls.
2020-06-23 21:53:38 +04:00
John Preston
bdbcd8e540
Use Main::Session in entities parsing.
2020-06-08 12:05:17 +04:00
John Preston
a586b18dfb
Fix pending web pages applying.
...
Fixes #7091 .
2020-06-05 13:03:45 +04:00
John Preston
f4cd84c313
Fix crash in stickers.
2020-06-01 18:09:34 +04:00
John Preston
ae9ed820ee
Fix sticker set icons display.
2020-06-01 18:09:33 +04:00
John Preston
803593cd8d
Change Stickers::Set from value to object type.
2020-06-01 18:09:33 +04:00
23rd
41255cab44
Removed display views and author for sent scheduled messages.
...
Moved filling of post flags to a single place.
2020-05-20 12:41:44 +04:00
23rd
97446ae783
Added ability to reschedule scheduled messages.
2020-05-20 12:41:44 +04:00
John Preston
44e71dfa03
Allow hiding PSA from the chats list.
2020-04-30 11:35:01 +04:00
John Preston
266c1531ce
Display PSA label instead of the proxy sponsor.
2020-04-30 11:35:01 +04:00
John Preston
8d632bd2be
Update API scheme to layer 103.
2020-04-30 11:35:01 +04:00
John Preston
13d22947df
Send poll solution with entities.
2020-04-21 18:55:34 +04:00
John Preston
3e2f4bed50
Update scheme to layer 102.
...
Support different dice-like media.
2020-04-21 18:55:34 +04:00
John Preston
c3b807d483
Load folders exceptions after 100 chats.
2020-03-27 20:36:06 +04:00
John Preston
d5b8fc703e
Fix Ctrl+[1-5] jump to pinned in folders.
2020-03-27 20:36:05 +04:00
John Preston
dc49f7e6dc
Load all archive after the main list for filters.
2020-03-27 20:36:03 +04:00
John Preston
e27a8fe058
Support pinned locally in filters.
2020-03-27 20:36:03 +04:00
John Preston
f8cc134bd6
Send dice emoji as Dice media.
2020-03-27 20:36:02 +04:00
John Preston
1492571232
Fix members dropdown and mention autocomplete.
...
Fixes #7345 .
2020-03-13 23:14:23 +04:00
John Preston
6f672ecdc3
Request history parts through Histories.
2020-02-21 18:48:30 +04:00
John Preston
818f5cd004
Send and delete messages through Histories.
2020-02-21 18:48:30 +04:00
John Preston
db322cc19a
Move requestDialogEntry to Histories.
2020-02-21 18:48:30 +04:00
John Preston
388173f0ad
Fix delete+leave from a legacy group.
...
We first need to leave and receive a new message update about
us leaving the group and only after that remove the conversation
locally from the chats list, otherwise it reappears in the list.
2020-02-21 18:48:29 +04:00
John Preston
c8d2ac9583
Move message ownership to History.
2020-02-21 18:48:29 +04:00
John Preston
5b7f7ed70e
Fix reading of currently opened chat.
2020-02-21 18:48:29 +04:00
John Preston
9cccea9a87
All read history done through Data::Histories.
2020-02-21 18:48:29 +04:00
John Preston
b0e1ae3948
Prepare Data::Histories for requests interdependencies.
2020-02-21 18:48:29 +04:00
John Preston
70408f0e22
First version of reading-while-scrolling.
2020-02-21 18:48:29 +04:00