John Preston
351ba3a912
Allow adding bots as admins when creating a channel.
2019-06-05 20:15:17 +03:00
John Preston
c2b2236e64
Show error-by-privacy in adding user as admin.
2019-06-05 19:47:08 +03:00
John Preston
f7cb38c36a
Allow admins to see the linked chat.
2019-06-01 11:27:05 +03:00
John Preston
d7ab7aed62
Fix crash in unlinking discussion group.
2019-06-01 11:13:40 +03:00
John Preston
9871184953
Fix discussion group unlinking.
2019-05-31 19:47:48 +03:00
John Preston
7f74084237
Update some more phrases.
2019-05-31 19:47:31 +03:00
John Preston
56d3e69399
Auto-convert legacy groups for discussions.
2019-05-30 18:05:23 +03:00
John Preston
f1c7409980
Enable history visibility when linking chat.
2019-05-30 18:05:23 +03:00
John Preston
33ea5ad297
Allow searching in link group to channel box.
2019-05-30 18:05:23 +03:00
John Preston
a2b0631932
Hide linked chat button for now.
2019-05-28 17:47:36 +02:00
John Preston
ea644a3f81
Fix Release build in Xcode.
2019-05-27 17:32:01 +02:00
John Preston
a49806bf79
Only admin can unlink channel from the group.
2019-05-27 15:30:23 +02:00
John Preston
0a86e732cd
Add a footer to EditLinkedChatBox.
2019-05-27 15:09:42 +02:00
John Preston
4e10552c12
Add a confirmation for linking a discussion group.
2019-05-27 15:09:41 +02:00
John Preston
ee2c7fad78
Allow creating discussion groups for channels.
2019-05-27 15:09:37 +02:00
John Preston
b9d89cb4a0
Allow unlinking the discussion group.
2019-05-27 15:09:35 +02:00
John Preston
50778790fe
Start supporting channel discussion groups.
2019-05-27 15:09:25 +02:00
John Preston
4293a4857f
Show user profile from channel Removed Users.
...
Fixes #5974 .
2019-05-08 12:25:16 +03:00
John Preston
d48cafe1a3
Improve manage group box styles.
2019-05-01 16:11:47 +04:00
John Preston
116b5d006a
Divide public/private phrases for groups/channels.
2019-05-01 16:11:45 +04:00
John Preston
01d5589594
Add archived results in chats search.
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
c58f097535
Correctly move histories between chat lists.
2019-05-01 16:11:35 +04:00
John Preston
0c0d6bc411
Move chats / contacts lists to Data::Session.
2019-05-01 16:11:33 +04:00
John Preston
2862070348
Use vector instead of custom linked list.
2019-05-01 16:11:20 +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
d7a67a6a1c
Fix two crashes in groups edit.
2019-03-25 11:57:04 +04:00
John Preston
dd8c526fb7
Prepare code for revoking of full history.
2019-03-24 12:12:43 +04:00
23rd
ca9db9fd3f
Refactored code.
...
- Removed std::optional from EditPeerHistoryVisibilityBox.
- Added std::optional for savedCallback in EditPeerTypeBox.
- Guarded boxCallbacks.
2019-03-22 13:40:23 +04:00
23rd
ecccf673a9
Deleted unused code of Delete Button.
2019-03-22 13:40:23 +04:00
John Preston
e0d7cae3fe
Fix build for macOS.
2019-03-22 13:40:23 +04:00
John Preston
241526f127
Improve code style a bit.
2019-03-22 13:40:22 +04:00
23rd
4148099115
Redesigned Delete Button in EditPeerInfoBox.
2019-03-22 13:40:22 +04:00
23rd
5edf200157
Fixed focus in EditPeerTypeBox. Slightly refactored code.
2019-03-22 13:40:22 +04:00
23rd
bd7ba3acb1
Refactored code.
...
- Slightly improved design.
- Added "const" in EditPeerTypeBox & EditPeerInfoBox.
2019-03-22 13:40:22 +04:00
23rd
e024d9bbb0
Added opening EditPeerTypeBox when error of saving username was handled.
2019-03-22 13:40:22 +04:00
23rd
3d7b8b3162
Added Invite Link button. Refactored code.
...
- Removed unused includes.
- Improved design for boxes.
- Draw buttons for EditPeerInfoBox in single place.
- Simplified conditions for all buttons.
- Made AddSkip more flexible.
2019-03-22 13:40:22 +04:00
23rd
8887272577
Refactored code. Removed unused code.
...
- Deleted manage_peer_box from sources.
2019-03-22 13:40:22 +04:00
23rd
c86257568f
Fixed issue when "Too much usernames" box appearing only after typing.
2019-03-22 13:40:22 +04:00
23rd
cb272be805
Refactored code. Slightly improved animations and design.
2019-03-22 13:40:22 +04:00
23rd
b79d8d6c82
Removed Checkbox for Sign Messages and added Toggle Button.
...
- That is how it looks in mobile clients.
2019-03-22 13:40:22 +04:00
23rd
be8aed6a95
Added GroupTypeBox with Controller.
2019-03-22 13:40:22 +04:00
23rd
d06337dddc
Added HistoryVisibilityBox.
2019-03-22 13:40:22 +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
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00
John Preston
5ec80238a0
Fix permissions dependencies.
2019-02-13 15:19:05 +03:00
John Preston
f0c4868b3e
Ignore default banned rights for channel admins.
...
Fixes #5640 .
2019-02-01 15:50:57 +03:00
John Preston
55d3d8adc3
Allow to delete users from exceptions.
2019-01-31 20:31:44 +03:00
John Preston
25b5027dc7
Only creator can restrict in old groups.
2019-01-31 15:20:15 +03:00
John Preston
a70e72f75d
Application->Sandbox, Messenger->Application.
2019-01-23 12:51:58 +04:00