John Preston
4a10a88ecf
Show error when forwarding to slowmode group.
2019-07-24 08:02:20 +02:00
John Preston
873b77cf40
Use UserData::isBot where applicable.
2019-07-24 08:02:20 +02:00
John Preston
0005e0a3ce
Track local messages, restore on history jump.
2019-07-24 08:02:20 +02:00
John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
John Preston
3ca28c0cf9
Fix crash in unsupported message with buttons.
...
Fixes #6212 .
2019-07-05 09:42:51 +02:00
23rd
f877bf7a46
Fixed display of views count.
2019-06-22 11:53:23 +02:00
John Preston
7d585ab72f
Handle located groups as public.
2019-06-21 14:27:46 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
John Preston
ea61211a61
Version 1.7.2: Mix peer to grouped_id.
2019-06-01 00:51:57 +03:00
John Preston
a64c8c52b4
Correctly display discussion posts sender.
2019-05-27 15:09:56 +02:00
John Preston
87caa58456
Forward some inline keyboards.
2019-05-27 15:09:52 +02:00
John Preston
6b9675a5b1
Correctly display discussion posts.
2019-05-27 15:09:50 +02:00
John Preston
8aaaef3ff4
Show 'channel' badge for discussed messages.
2019-05-27 15:09:45 +02:00
John Preston
9c1ce702bb
Display channel posts in discussion groups.
2019-05-27 15:09:28 +02:00
John Preston
c4aac5fa0e
Update API scheme to layer 100.
2019-05-27 15:09:06 +02:00
John Preston
9a4fdb1530
Use only lt_count in langpacks.
2019-05-20 15:44:51 +03:00
23rd
63a6893fda
Excluded ability to display 0 views in channel posts.
2019-05-20 15:44:51 +03:00
23rd
5d321f7c59
Moved generation of short string for large numbers in one place.
...
- Added new plural tag "kPluralShortTag".
- Added support of new plural tag to code generator.
- Removed FormatViewsCount from history_message.
- Removed FormatLargeNumber from history_media_poll.
- Added FormatCountToShort to lang_tag.
2019-05-20 15:44:51 +03:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
b5be6df5e2
Copy text with expanded links only to external.
...
Paste valid custom links in message field if copied from messages.
2019-04-08 19:10:06 +04:00
John Preston
ff51423125
Remove ExpandLinksNone, rename Text::originalText.
2019-04-08 15:53:11 +04:00
John Preston
fb244c00b9
Fix local history clearing.
2019-04-08 13:16:45 +04:00
John Preston
0744f43a0e
Create private channel post links.
2019-04-04 19:31:02 +04:00
23rd
a6d0fa433e
Refactored variables for edit media in HistoryItem.
...
- Replaced _isLocalUpdateMedia with client flag.
- Removed _isEditingMedia.
2019-04-04 13:23:14 +03:00
23rd
590e6c8e9d
Fixed ability to cancel edit media in albums.
2019-04-02 18:14:12 +04:00
23rd
5554867553
Fixed editing other messages when media is edited.
...
- Added new condition for skipping message in History::lastSentMessage.
- Added reset of _savedMedia in HistoryMessage destructor.
2019-04-02 18:14:12 +04:00
23rd
f3102573ea
Improved applying edition.
...
- Fixed cancel single media.
2019-04-02 18:14:12 +04:00
23rd
be2b2cbf7e
Refactored ApiWrap::editMedia.
...
- Slightly refactored checkEntitiesAndViewsUpdate.
- Slightly refactored HistoryMessage.
2019-04-02 18:14:12 +04:00
23rd
0e4d85a5e5
Added handler for MESSAGE_NOT_MODIFIED error when edit media.
2019-04-02 18:14:12 +04:00
23rd
653fd1bb63
Added initial implementation of cancel of media uploading for editing.
2019-04-02 18:14:12 +04:00
23rd
f24ce584db
Fixed item updating when upload editing media.
2019-04-02 18:14:12 +04:00
John Preston
a34e998c42
Handle fwd_from without a link to the account.
2019-03-24 12:12:42 +04:00
John Preston
648cd44ddd
Display correct video / music state.
2019-03-11 12:08:08 +04:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00
John Preston
4111da1dd0
Move some calls from App namespace.
2019-01-22 17:10:01 +04:00
John Preston
22f1ffc72b
Use different phrases for default restrictions.
2019-01-17 12:21:30 +04:00
John Preston
61419b57c8
Prepare legacy group restrictions checking.
2019-01-17 12:21:29 +04:00
John Preston
c5a41e1f55
Divide data/data_peer and remove from PCH.
2019-01-17 12:21:29 +04:00
John Preston
d2d6b319b6
Update API scheme to layer 93. Broken.
2019-01-17 12:21:28 +04:00
John Preston
1f8626b383
Move App::histories to Data::Session.
2019-01-17 12:21:28 +04:00
23rd
be0b0c1984
Fixed an editing of unsupported messages.
2018-12-26 15:10:56 +04:00
John Preston
b00ca217b3
Don't autoread mentions with voice/video messages.
...
Voice/video message unread flag is the same that mention unread flag.
If we mark such mentions as read together with all others we mark
media as watched/listened instantly when they appear on the screen.
So now we mark as read only simple mentions, without "unread" media.
2018-12-26 14:30:55 +04:00
John Preston
74c1db740d
Implement polls voting and actions.
2018-12-21 17:09:33 +04:00
John Preston
6d08394adc
Divide history_media_types to several modules.
2018-12-21 17:09:31 +04:00
John Preston
47bdeeef9a
Poll data and updates handling added.
2018-12-21 17:09:31 +04:00
John Preston
eb7201a55b
Strictly match message / media types.
2018-12-21 17:09:30 +04:00
John Preston
59ecf375b0
Move tg:// handlers to a separate module.
...
Also move joinGroupByHash and stickerSetBox from MainWidget.
2018-11-26 17:31:13 +04:00
John Preston
5f665b8ecb
Add a comment field to ShareBox.
2018-11-04 15:58:32 +04:00
John Preston
98930792c3
Fix fast reply and right action in sent messages.
...
Fixes #4903 .
2018-06-28 16:24:39 +01:00