7847a22a3e
Mergerd
2024-05-04 17:23:27 +03:00
Sebastian Wolf
1d68123ea1
Restore content width in landscape as per discussion in #540
2023-12-03 23:52:06 +03:00
Slava Monich
cf7b706582
Tweaked the logic of moving reactions into the view ( #543 )
...
There's no need to reposition list items if reactions bar are already
fully visible.
2023-12-03 23:50:55 +03:00
Sebastian Wolf
edfce9b492
Highlight message that was jumped to
2023-12-03 23:50:55 +03:00
mbarashkov
e5d1ecd9f3
Jump to post from quote ( #538 )
...
* Jump to post from quote
* Add a setting to go to quoted message.
---------
Co-authored-by: Mikhail Barashkov <git@mbarashkov.ru>
2023-12-03 23:50:23 +03:00
Sebastian Wolf
42a7813776
Not only tablets have widescreen ;)
2023-12-03 23:50:21 +03:00
mbarashkov
627faba0db
Improve chat UI on tablets by making messages narrower and limiting content items width as well. ( #540 )
...
Co-authored-by: Mikhail Barashkov <git@mbarashkov.ru>
2023-12-03 23:49:14 +03:00
Sebastian Wolf
1a0ed7f298
Only one star per list, restore users in poll results
2023-12-03 23:46:30 +03:00
Sebastian Wolf
c1ab982cb1
Restore content width in landscape as per discussion in #540
2023-12-03 12:59:41 +01:00
Slava Monich
b2363af36f
Tweaked the logic of moving reactions into the view ( #543 )
...
There's no need to reposition list items if reactions bar are already
fully visible.
2023-12-03 12:53:32 +01:00
Sebastian Wolf
4ed9495376
Highlight message that was jumped to
2023-12-03 00:48:41 +01:00
mbarashkov
2dd1d2c380
Jump to post from quote ( #538 )
...
* Jump to post from quote
* Add a setting to go to quoted message.
---------
Co-authored-by: Mikhail Barashkov <git@mbarashkov.ru>
2023-12-03 00:46:47 +01:00
Sebastian Wolf
bba4a6468c
Not only tablets have widescreen ;)
2023-12-02 23:50:13 +01:00
mbarashkov
64479f0dd3
Improve chat UI on tablets by making messages narrower and limiting content items width as well. ( #540 )
...
Co-authored-by: Mikhail Barashkov <git@mbarashkov.ru>
2023-12-02 23:44:14 +01:00
Sebastian Wolf
80ecf50e74
Only one star per list, restore users in poll results
2023-11-29 23:47:59 +01:00
Sebastian Wolf
61faf0f407
More tweaks for reactions
2023-11-26 23:36:29 +01:00
Sebastian Wolf
98f067cda8
Tweak reactions again...
2023-11-26 20:36:30 +01:00
Sebastian Wolf
7c63ad66f9
Interaction hint for new reactions behavior
2023-11-25 13:33:45 +03:00
Sebastian Wolf
16bcef3c78
Interaction hint for new reactions behavior
2023-11-22 22:53:17 +01:00
Sebastian Wolf
40ec4b0968
Fix chat permissions handling
2023-11-19 16:16:46 +03:00
Sebastian Wolf
00deaa79fd
Fix chat permissions handling
2023-11-19 13:34:31 +01:00
Slava Monich
c1c8729023
Adapt to changes in reply message info ( #525 )
...
1.8.14:
https://github.com/tdlib/td/commit/fa94aba
1.8.21:
https://github.com/tdlib/td/commit/811a7c6
https://github.com/tdlib/td/commit/5216ea1
2023-11-19 12:21:17 +03:00
Sebastian Wolf
9bcc9ab690
Only expect chat partner information in private chats
2023-11-19 12:01:42 +03:00
Slava Monich
0b6a2db2f1
Adapt to changes in TdLib ( #524 )
...
* Adapt setTdlibParameters for TdLib > 1.8.5
For some reason tdlibParameters were inlined between 1.8.5 and 1.8.6
See https://github.com/tdlib/td/commit/f6a2ecd
* sponsoredMessage => sponsoredMessages in TdLib 1.8.8
See https://github.com/tdlib/td/commit/ec1310a
* Support another variant of messageReaction
The reaction field has changed from string to ReactionType somewhere
between 1.8.5 and 1.8.6
See https://github.com/tdlib/td/commit/b14708f
* Add support for new message reactions API
It has changed between 1.8.5 and 1.8.6
https://github.com/tdlib/td/commit/b14708f (ReactionType)
https://github.com/tdlib/td/commit/0b8e143 (ChatAvailableReactions)
https://github.com/tdlib/td/commit/6b2f6b4 (addMessageReaction)
https://github.com/tdlib/td/commit/d29d367 (updateActiveEmojiReactions)
etc.
* Highlight chosen reaction
* Support username in the new format
username attribute has been replaced with usernames in 1.8.8 and
now looks like this:
"usernames": {
"@type": "usernames",
"active_usernames": [
"whatever"
],
"disabled_usernames": [
],
"editable_username": "whatever"
}
See https://github.com/tdlib/td/commit/897032e
* Support new reply_to message attribute
Since 1.8.15 it replaces reply_to_message_id and reply_in_chat_id.
Looks like this:
"reply_to": {
"@type": "messageReplyToMessage",
"chat_id": -1001234567890,
"is_quote_manual": false,
"message_id": 234567890,
"origin_send_date": 0
},
See https://github.com/tdlib/td/commit/6116573
* Added support for MessageOrigin values
All of a sudden MessageForwardOrigin has been renamed into MessageOrigin
in TdLib 1.8.20 just because why not:
https://github.com/tdlib/td/commit/10c9e40
2023-11-19 12:01:27 +03:00
jgibbon
1ffcfb48ca
Add specific unread info for higher counts of unread messages ( #516 )
2023-11-18 22:24:27 +01:00
Slava Monich
527b2c3c9a
Adapt to changes in reply message info ( #525 )
...
1.8.14:
https://github.com/tdlib/td/commit/fa94aba
1.8.21:
https://github.com/tdlib/td/commit/811a7c6
https://github.com/tdlib/td/commit/5216ea1
2023-11-18 22:14:59 +01:00
jgibbon
ca42a5e7e0
Add specific unread info for higher counts of unread messages
2023-11-18 22:38:44 +03:00
Sebastian Wolf
2b51405743
Only expect chat partner information in private chats
2023-11-18 15:35:02 +01:00
Slava Monich
1ee8d134bc
Adapt to changes in TdLib ( #524 )
...
* Adapt setTdlibParameters for TdLib > 1.8.5
For some reason tdlibParameters were inlined between 1.8.5 and 1.8.6
See https://github.com/tdlib/td/commit/f6a2ecd
* sponsoredMessage => sponsoredMessages in TdLib 1.8.8
See https://github.com/tdlib/td/commit/ec1310a
* Support another variant of messageReaction
The reaction field has changed from string to ReactionType somewhere
between 1.8.5 and 1.8.6
See https://github.com/tdlib/td/commit/b14708f
* Add support for new message reactions API
It has changed between 1.8.5 and 1.8.6
https://github.com/tdlib/td/commit/b14708f (ReactionType)
https://github.com/tdlib/td/commit/0b8e143 (ChatAvailableReactions)
https://github.com/tdlib/td/commit/6b2f6b4 (addMessageReaction)
https://github.com/tdlib/td/commit/d29d367 (updateActiveEmojiReactions)
etc.
* Highlight chosen reaction
* Support username in the new format
username attribute has been replaced with usernames in 1.8.8 and
now looks like this:
"usernames": {
"@type": "usernames",
"active_usernames": [
"whatever"
],
"disabled_usernames": [
],
"editable_username": "whatever"
}
See https://github.com/tdlib/td/commit/897032e
* Support new reply_to message attribute
Since 1.8.15 it replaces reply_to_message_id and reply_in_chat_id.
Looks like this:
"reply_to": {
"@type": "messageReplyToMessage",
"chat_id": -1001234567890,
"is_quote_manual": false,
"message_id": 234567890,
"origin_send_date": 0
},
See https://github.com/tdlib/td/commit/6116573
* Added support for MessageOrigin values
All of a sudden MessageForwardOrigin has been renamed into MessageOrigin
in TdLib 1.8.20 just because why not:
https://github.com/tdlib/td/commit/10c9e40
2023-11-18 14:45:22 +01:00
59b99a0a28
Fixed size of background circle for Unread messages
2023-08-03 15:02:34 +03:00
656e8ccfe7
left margin for own messages in private chats
2023-07-12 01:27:18 +03:00
22930628ae
wide message without left margin
2023-07-12 01:12:53 +03:00
Sebastian Wolf
99910a3f3a
Bring unread mention/reactions to chat list
2022-06-06 15:55:21 +02:00
Sebastian Wolf
0cc6f959fc
Option to mark all chat reactions as read
2022-05-24 21:19:15 +02:00
Sebastian Wolf
033f96b366
Display reactions to message
2022-05-23 23:33:17 +02:00
Sebastian Wolf
856a16c640
Don't overwrite active status of attachment row for voice notes, fixes #481
2022-04-24 14:39:36 +02:00
Sebastian Wolf
60c1ed6bb1
Try to optimize sticker set handling (less reload)
2022-01-07 23:00:28 +01:00
Sebastian Wolf
932f483b7a
TDLib 1.8.0: New format for sponsored messages
2022-01-07 22:03:58 +01:00
Sebastian Wolf
fcbf9d65f1
TDLib 1.8.0: Headers and sender -> sender_id changes
2022-01-07 19:18:04 +01:00
Slava Monich
a6d469a999
Don't try to load message with zero id
...
chatPage.messageIdToShow can be defined and yet be zero
2021-12-26 04:50:37 +02:00
Sebastian Wolf
7bfa4a54e0
Some logging for some strange issues...
2021-12-14 23:22:21 +01:00
Sebastian Wolf
b8e5fb189c
Handle many direct message links properly, fixes #312
2021-12-11 18:29:31 +01:00
Sebastian Wolf
5309dda94b
Avoid saving drafts for deleted users, fixes #439
2021-12-08 23:57:06 +01:00
Sebastian Wolf
02573e8d4e
Add option to delete private chat, see #439
2021-12-08 22:35:26 +01:00
Sebastian Wolf
489c410b14
Merge branch 'master' into smarter-extra-options
2021-12-05 22:09:18 +01:00
Sebastian Wolf
a59d32b29d
Update to TDLib 1.7.9, preliminary support for sponsored messages
2021-12-05 22:06:05 +01:00
Slava Monich
9f4f3c9475
Hide "Extra options..." context menu item if it's not needed
...
If all context actions fit into the context menu limit (5 items in portrait,
4 items in landscape) it makes no sense to show this "Extra options..." thing.
2021-12-05 03:30:00 +02:00
Sebastian Wolf
0400d12e52
Support for animated emoji
2021-12-04 22:05:22 +01:00
Sebastian Wolf
d2df4ddf16
Enhance location attachment information (accuracy, address)
2021-05-27 23:48:50 +02:00
Sebastian Wolf
b719d18a70
Remove debug statement from previous testing...
2021-05-26 15:16:05 +02:00