John Preston
567bf60644
Use getters in MTP classes.
2019-07-05 16:23:07 +02:00
23rd
da6baeb1a7
Added notifier of archiving pinned dialog to update touchbar.
2019-07-04 16:27:33 +02:00
John Preston
9d09cee1cc
Unblock bots without restarting from Settings.
2019-07-04 16:26:53 +02:00
John Preston
8f3f898c47
Show animated stickers in StickerSetBox.
2019-07-01 17:57:32 +02:00
23rd
dcba07b9b7
Added sticker picker to touchbar.
2019-06-22 22:13:06 +02:00
John Preston
7d585ab72f
Handle located groups as public.
2019-06-21 14:27:46 +02:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
d23fd3559a
Refresh participants after transfer.
2019-06-21 11:06:47 +02:00
John Preston
5e3734d7bf
ReportSpamPanel -> HistoryView::ContactStatus.
2019-06-21 11:06:45 +02:00
John Preston
30dea3a2e7
Use isConstant bool instead of ContactStatus enum.
2019-06-21 11:06:45 +02:00
John Preston
d9e93fb5cc
Fix possible crash in auth session destruction.
2019-06-17 14:23:50 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
John Preston
a27a80351a
Fix clearing history with local messages.
2019-06-05 18:15:49 +03:00
23rd
c90e803f1b
Added handler of logout to touchbar.
2019-05-27 15:35:02 +02:00
John Preston
371f1a51c3
Preload blocked users slice in Settings.
2019-05-27 15:09:47 +02:00
John Preston
8660f976a9
Add phone number privacy.
...
Also move calls peer-to-peer privacy inside calls privacy.
2019-05-27 15:09:15 +02:00
John Preston
6b80ff4bcc
Support groups in privacy settings.
2019-05-27 15:09:12 +02:00
John Preston
c4aac5fa0e
Update API scheme to layer 100.
2019-05-27 15:09:06 +02:00
John Preston
0247e876df
Remove locally saved empty histories.
2019-05-03 15:18:18 +04:00
John Preston
4e8c57a861
Fix assertion violation in marking history as read.
2019-05-01 16:43:19 +04:00
John Preston
db35c3de3b
Fix block chat list loading by date.
2019-05-01 16:11:45 +04:00
John Preston
08bddc5579
Move messages data to AuthSession.
2019-05-01 16:11:42 +04:00
John Preston
6dd8f32f66
Fix build on Xcode.
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
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
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
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
905a024aed
Update API scheme to layer 99.
2019-04-25 14:16:29 +04:00
John Preston
2518250ae0
Fix wronly marking channel as forbidden.
...
Regression was introduced in 826d6011a1
.
Fixes #5923 .
2019-04-13 10:34:35 +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
fb244c00b9
Fix local history clearing.
2019-04-08 13:16:45 +04:00
John Preston
5deee18247
Use channels.exportMessageLink to check links.
2019-04-05 15:50:16 +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
48362cd4bc
Added more appropriate phrase for invalid files in edit media.
2019-04-03 20:08:27 +03:00
23rd
bd653dfdff
Refactored ApiWrap.
...
- Joined editUploadedPhoto with editUploadedDocument.
2019-04-03 20:00:12 +03:00
23rd
84858b8940
Added MEDIA_NEW_INVALID error handler. Disabled edit media with webp.
2019-04-02 20:28:54 +03: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
145dda843e
Added initial local reference for edited 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
741501d1d9
Removed sending gif attributes when edit media.
...
- Removed handling gif for render animated preview.
2019-04-02 18:14:12 +04:00