John Preston
8f0e23bb25
Improve editing messages with link previews.
...
Now preview state can be one of (allowed, cancelled, empty-in-edit).
In case of editing a message without preview we set the state to
empty-in-edit and it changes to allowed if the links in the message
are changed somehow.
That way we don't need to cancel the preview when editing a message
with a cancelled preview and at the same time adding a link to
a message that had no preview in the first place will add a preview.
2021-01-29 15:27:17 +04:00
23rd
24b8377a2a
Added initial implementation of display sections prevent.
2020-12-14 17:09:24 +04:00
John Preston
33941ad1b9
Start group call bar in HistoryWidget.
2020-12-01 09:45:21 +03:00
John Preston
b3eb7858e6
Save local drafts in scheduled / replies sections.
...
Fix inline bot switch inline in scheduled / replies sections.
2020-11-17 12:58:07 +03:00
John Preston
4a0efb9114
Remove Q_OBJECT from HistoryWidget.
2020-11-17 12:58:07 +03:00
John Preston
f04b3da76a
Add return from bot switch_pm to Scheduled/Replies.
2020-11-17 12:58:06 +03:00
John Preston
4a8b59b788
Pass reply info to Window::PeerMenu.
2020-11-17 12:58:06 +03:00
23rd
cb84e70bdc
Improved display management of voice record controls.
2020-11-17 12:56:51 +03:00
23rd
478f5f671c
Added initial implementation of voice recording lock.
2020-11-17 12:56:50 +03:00
23rd
db564ca486
Replaced voice record processing with VoiceRecordBar in HistoryWidget.
2020-11-17 12:56:50 +03:00
John Preston
a21b6d7416
Fix restoring scroll state with a pinned bar.
2020-11-02 11:44:05 +03:00
John Preston
53c308c24b
Loop pinned messages in the top bar.
2020-10-30 18:32:21 +03:00
John Preston
08f7069370
Implement new choosing of shown pinned message.
2020-10-30 18:32:21 +03:00
John Preston
61d335469f
Improve context menu in pinned section.
2020-10-30 18:32:20 +03:00
John Preston
d742fa32de
Add button to show all pinned messages.
2020-10-30 18:32:20 +03:00
John Preston
bb4fdde616
Fix sending many files with a comment.
2020-10-30 18:32:19 +03:00
John Preston
85d08c8f52
Send files grouped in albums, show captions.
2020-10-30 18:32:19 +03:00
John Preston
8d2fa313b7
Add setting for grouping files.
2020-10-30 18:32:19 +03:00
John Preston
b3b11bd9e7
Move PreparedFile/PreparedList to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
0873db58d0
Moved PinnedBar to Ui:: in td_ui.
2020-10-30 18:32:18 +03:00
John Preston
91a0416037
Implement local pinned bar hiding.
2020-10-30 18:32:18 +03:00
John Preston
67290eed58
Use new message bar for pinned message.
2020-10-30 18:32:18 +03:00
John Preston
b9f40e35cd
Switch between pinned messages in chat.
2020-10-30 18:32:17 +03:00
John Preston
ec35e3f081
Track multiple pinned messages in MessagesList.
2020-10-30 18:32:17 +03:00
John Preston
0c1175f9cd
Fix broadcast field placeholder update.
2020-10-07 14:41:21 +03:00
John Preston
4e8a1f8d29
Fix voice messages sending.
2020-10-01 10:47:03 +03:00
John Preston
d42ce87c09
Move discussion group link to three-dot menu.
2020-09-29 19:03:23 +03:00
23rd
14cda49db2
Moved code for send context menu to namespace.
2020-08-11 18:13:40 +04:00
23rd
cf56658664
Slightly refactored FieldAutocomplete.
2020-08-11 18:13:40 +04:00
23rd
d1d153e886
Added Api::SendOptions passing from TabbedSelector for inline results.
2020-08-11 18:13:40 +04:00
23rd
759e802eba
Added ability to pass Api::SendOptions from TabbedSelector.
2020-08-11 18:13:40 +04:00
23rd
24d02d5461
Replaced creating of drag'n'drop area in HistoryWidget with new way.
2020-07-20 21:44:07 +03:00
23rd
b02b690747
Moved HistoryWidget::saveEditMsgDone/Fail to lambdas.
2020-07-17 18:22:38 +03:00
23rd
9445ce4b09
Moved sending of bot's CallbackData and CallbackGame to separate file.
2020-07-14 19:03:41 +04:00
John Preston
2f5cb33bf2
Fix finalizing media in non-active account.
2020-07-14 19:02:27 +04:00
John Preston
09aff23ac9
Fix crashes in HistoryWidget.
2020-06-30 18:14:05 +04:00
23rd
0227b5f2fa
Removed Notify::inlineKeyboardMoved as completely unused code.
2020-06-29 06:26:09 +04:00
23rd
b629e0c43a
Replaced Notify::replyMarkupUpdated with Data::MessageUpdate.
2020-06-29 06:26:02 +04:00
John Preston
bf7aae5fc6
Allow float video player across accounts.
2020-06-25 18:17:37 +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
c7878f9d21
Pause by-emoji stickers on sticker preview.
2020-05-12 12:18:31 +04:00
John Preston
1fa22398a9
Fix returning of tabbed panel in third column.
2020-05-05 16:55:05 +04:00
John Preston
f76e094e98
Use info toast to show proxy / psa about text.
2020-04-30 15:20:50 +04:00
John Preston
c14e20b33f
Support PSA forwarded info.
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