John Preston
5feb381cb2
Allow showing images from cache in media viewer.
...
Fixes #10237 .
2021-02-01 15:44:24 +04:00
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
John Preston
fc4ed2ff91
Fix repainting of non-first file album item.
2021-01-29 14:38:07 +04:00
23rd
827c950468
Moved common GroupCall structs to separate file.
2021-01-25 19:05:03 +03:00
John Preston
b2c84d675c
Allow clearing calls log.
2021-01-25 16:50:59 +04:00
John Preston
417428b21d
Allow deleting small groups for everyone.
2021-01-25 16:50:59 +04:00
John Preston
58733ba6ea
Add support for FAKE badge.
2021-01-25 16:50:59 +04:00
John Preston
1774b21e88
Add ability to completely delete legacy group.
2021-01-25 16:50:58 +04:00
John Preston
542abb26b9
Allow sharing link to chats.
2021-01-25 16:47:41 +04:00
John Preston
e5320b4b4e
Implement new permanent invite link management.
2021-01-25 16:47:40 +04:00
John Preston
f63f0a7668
Mute by me / change participant volume.
2021-01-25 16:47:40 +04:00
John Preston
b396244606
Update API scheme to layer 123.
2021-01-25 16:47:40 +04:00
23rd
d4bbbdb65c
Replaced rand_value util function with openssl::RandomValue.
2021-01-24 10:41:10 +03:00
23rd
dd01ece14a
Replaced snap util function with std::clamp.
2021-01-24 10:41:10 +03:00
John Preston
574d915c23
Fix build and tray icon menu on Windows.
2021-01-22 16:53:59 +04:00
23rd
eb42a77eb7
Changed Up arrow shortcut for albums to edit item with caption.
...
Fixed #10134 .
2021-01-22 16:53:59 +04:00
23rd
ad761011d6
Added ability to fetch song cover from external resource.
2021-01-22 16:53:59 +04:00
23rd
3fadf2ee54
Added Up arrow shortcut to edit comments.
2021-01-11 22:46:56 +03:00
23rd
15254599e2
Unified checking for editable message.
2021-01-11 22:46:56 +03:00
23rd
8fffe7d128
Added ability to show song cover in HistoryView and Overview::Layout.
2021-01-11 22:46:45 +03:00
John Preston
d16bc36bae
Update API scheme.
2020-12-22 22:39:30 +04:00
John Preston
92bc278052
Allow inviting contacts to voice chats.
2020-12-22 12:33:06 +04:00
John Preston
cabd7a276b
Add 'invited' members to voice chats.
2020-12-16 15:58:58 +04:00
John Preston
146a9c2794
Don't edit old 'voice chat started' message.
2020-12-16 12:20:46 +04:00
John Preston
15620b5c2d
Divide speaking status and background noise.
2020-12-15 14:16:44 +04:00
John Preston
ad2d2c203f
Respect 'just_joined' participant flag.
2020-12-14 20:08:47 +04:00
John Preston
b6483cb65c
Use shared_ptr<Memento> for sections.
2020-12-14 18:48:10 +04:00
23rd
c8643aa1ee
Wrapped raw SectionMemento with unique_ptr.
2020-12-14 17:09:24 +04:00
John Preston
1b624d67b8
Support voice chats in legacy groups, with migration.
2020-12-14 16:52:18 +04:00
John Preston
2b91eedcd4
Update API scheme.
2020-12-13 23:27:51 +04:00
John Preston
424ba1dbea
Track speaking state in non-joined voice chats.
2020-12-11 15:04:34 +04:00
John Preston
49fc066480
Handle GROUPCALL_FORBIDDEN in joinGroupCall.
2020-12-08 13:39:54 +04:00
John Preston
732bc38e8e
Show chats list badge only for non-empty calls.
2020-12-06 17:28:27 +04:00
John Preston
80b7858f5e
Don't reorder members while menu is shown.
2020-12-06 16:16:11 +04:00
John Preston
fdbe6bdeb2
Add voice chat indicator in the chats list.
2020-12-02 13:52:33 +03:00
John Preston
c82bc691e0
Improve group call service messages.
2020-12-01 17:17:05 +03:00
John Preston
5a324756fd
Track call_active flag in channels.
2020-12-01 16:22:07 +03:00
John Preston
309b3a6f96
Keep speaking state only for 350ms.
2020-12-01 14:59:09 +03:00
John Preston
ef119dadd5
Add bouncing of userpics in group call members.
2020-12-01 14:52:40 +03:00
John Preston
498d6226e3
Add blob animations to group call participants.
2020-12-01 12:06:06 +03:00
John Preston
02d5af7d71
Detect animated stickers by mime type.
2020-12-01 09:45:24 +03:00
John Preston
d40768f6b0
Use separate styles for group call boxes.
2020-12-01 09:45:23 +03:00
John Preston
e66ad89a2a
Load unknown participants by source.
2020-12-01 09:45:23 +03:00
John Preston
058199aa0d
Track speaking state in participants list.
2020-12-01 09:45:23 +03:00
John Preston
3a5b625d64
Allow inviting members to the group call.
2020-12-01 09:45:23 +03:00
John Preston
9e5006dd67
Add group call settings box.
2020-12-01 09:45:22 +03:00
John Preston
abb81c764e
Allow discarding group call when leaving.
2020-12-01 09:45:22 +03:00
John Preston
d1c821973a
Update speaking status based on audio level.
2020-12-01 09:45:22 +03:00
John Preston
b54a2aa40b
Apply self mute status locally.
2020-12-01 09:45:22 +03:00
John Preston
7983d33ad5
Add manage_call admin right support.
2020-12-01 09:45:22 +03:00