John Preston
aec6e17b5d
Allow revoking any messages in private chats.
2019-05-08 12:14:42 +03:00
John Preston
64dd5139da
Show unread archive chat names in bold.
2019-05-08 12:05:15 +03:00
John Preston
e55e46a0f0
Show last chats in archive dialog row.
2019-05-08 11:50:39 +03:00
John Preston
0247e876df
Remove locally saved empty histories.
2019-05-03 15:18:18 +04:00
John Preston
4356b1c193
Allow collapsing archive in the chats list.
2019-05-03 15:08:53 +04:00
John Preston
5c3f93eee1
Fix crash in replies.
...
Regression was introduced in b1df3c0ec4.
2019-05-01 16:11:44 +04:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
cb3e649e61
Correctly handle cloud archive unread state.
2019-05-01 16:11:42 +04:00
John Preston
5f62c2100c
Count unread marks in non-fully loaded folders.
2019-05-01 16:11:40 +04:00
John Preston
4c571f5bff
Fix adding first chat to archive.
2019-05-01 16:11:40 +04:00
John Preston
52b9212625
Display top bar in archive.
2019-05-01 16:11:40 +04:00
John Preston
3dd2a6bb5b
Update archive row on chat list name change.
2019-05-01 16:11:39 +04:00
John Preston
9ff02707bf
Improve archive chat list entry layout.
2019-05-01 16:11:38 +04:00
John Preston
2d1dcb36cb
Use folder_id / still_unread_count from updates.
2019-05-01 16:11:38 +04:00
John Preston
01d5589594
Add archived results in chats search.
2019-05-01 16:11:38 +04:00
John Preston
ceec71d3e6
Track real latest message in the folder.
2019-05-01 16:11:37 +04:00
John Preston
8fd811517b
Count unread correctly in folders.
2019-05-01 16:11:37 +04:00
John Preston
58519300ea
Support pinned chats in folders.
2019-05-01 16:11:37 +04:00
John Preston
518ff146b2
Don't allow reordering of the archive.
2019-05-01 16:11:36 +04:00
John Preston
f3ed7a674a
Create dialog rows only with known folders.
2019-05-01 16:11:35 +04:00
John Preston
854870683b
Add ability to archive/unarchive the chats.
2019-05-01 16:11:35 +04:00
John Preston
c58f097535
Correctly move histories between chat lists.
2019-05-01 16:11:35 +04:00
John Preston
0367319934
Load folder dialogs list.
2019-05-01 16:11:35 +04:00
John Preston
305a611211
Load dialogs list in ApiWrap and Data::Session.
2019-05-01 16:11:34 +04:00
John Preston
0c0d6bc411
Move chats / contacts lists to Data::Session.
2019-05-01 16:11:33 +04:00
John Preston
76c3e9a529
Display title and userpic of archived chats.
2019-05-01 16:11:14 +04:00
John Preston
9bf8a8108d
Comment out non-folder feed code.
2019-04-25 14:16:30 +04:00
John Preston
826d6011a1
Mask channel as forbidden on CHANNEL_PRIVATE error.
...
Fixes #5902 .
2019-04-09 17:19:43 +04:00
23rd
fb847135b5
Added ability to edit GIFs.
...
- Added to Media::Clip::MakeReader new constructor to create
animated preview with remoteContent.
2019-04-09 17:17:31 +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
fb244c00b9
Fix local history clearing.
2019-04-08 13:16:45 +04:00
23rd
5d8888bb8b
Refactored code.
...
- Refactored passing message id to edit media.
- Removed get/setEditMedia from mainwidget.
- Combined onEditMedia and onSendFileConfirm in single method.
- Added argument in FileLoadTask to pass message id to edit media.
- Renamed flags in apiwrap.
- Added check for allowing edit media when use clipboard.
- Removed unused fileIsValidForAlbum.
- Removed LOGs.
- Replaced _isNotAlbum with _isAlbum.
- Removed _viaRemoteContent.
- Removed _newMediaPath.
- Added empty() to MessageGroupId.
2019-04-02 18:14:12 +04:00
23rd
590e6c8e9d
Fixed ability to cancel edit media in albums.
2019-04-02 18:14:12 +04:00
23rd
67572b0d9a
Added canceling upload edit media to Data::Media destructors.
...
- We should stop upload media if message was deleted from other client.
2019-04-02 18:14:12 +04:00
23rd
89e1291d86
Added confirming only images and videos when edit album item.
...
- Added hiding of checkbox when edit album item.
2019-04-02 18:14:12 +04:00
23rd
25e3674819
Added allowsEditMedia() to Media. Slightly refactored.
2019-04-02 18:14:12 +04:00
John Preston
cd3c1c6dc0
Use new animations engine for typings.
2019-04-02 14:33:53 +04:00
John Preston
b353af00c9
Fix crash in login.
2019-04-02 14:33:53 +04:00
John Preston
d3bf489bea
Improve base::binary_guard interface.
2019-04-02 14:33:52 +04:00
John Preston
8759d637ff
Use StorageFileLocation in mtpFileLoader.
2019-03-29 14:24:07 +04:00
John Preston
95023ca770
Use StorageFileLocation in streaming loader.
2019-03-29 14:24:07 +04:00
John Preston
aa8f62da9d
Support new ('modern') API file locations.
2019-03-29 14:24:07 +04:00
John Preston
eba2a98703
Add general StorageFileLocation abstraction.
2019-03-29 14:24:06 +04:00
John Preston
3bd1bbc77a
Use Streaming::Player in video messages playback.
2019-03-26 16:51:39 +04:00
John Preston
bb2e683dea
Fix leaving channels and supergroups.
...
Fixes #5838 .
2019-03-25 15:52:30 +04:00
John Preston
eb1825defd
Add revoking of full history.
2019-03-24 12:12:44 +04:00
John Preston
a34e998c42
Handle fwd_from without a link to the account.
2019-03-24 12:12:42 +04:00
John Preston
0cd7399dc9
Update API scheme to layer 96.
2019-03-24 12:12:41 +04:00
23rd
0f3ec47074
Begin of EditPeerBox redesigning.
...
- Moved buttons from ManageGroupBox to EditPeerBox.
- Added counting of permissions.
2019-03-22 13:40:21 +04:00
23rd
2aecd1035e
Removed "Export history" from context menu for empty chats.
2019-03-22 13:38:09 +04:00