Commit graph

468 commits

Author SHA1 Message Date
42e59badae Merged 2024-05-04 18:41:19 +03:00
7847a22a3e Mergerd 2024-05-04 17:23:27 +03:00
jgibbon
4857b14fb8 fix range + message updates; implement album filter 2023-12-28 13:03:13 +01: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
a7ab0ed33a
Prepare support for contact sync with SFOS 4.5 2023-02-05 20:17:06 +01:00
Peter G
b469135877
improve message when search yields no results (#507)
Co-authored-by: nephros <nemo@pgxperiiia10>
2023-02-05 15:41:04 +01:00
Sebastian Wolf
99910a3f3a
Bring unread mention/reactions to chat list 2022-06-06 15:55:21 +02:00
Sebastian Wolf
fa8a77a265
Next version will be 0.16 2022-05-29 22:17:37 +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
32a55c48be
Bring notifications back to lock screen, changelog for 0.15 2022-04-27 22:06:57 +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
40f60cf4be
Add Emoji 14.0 support :) 2022-03-21 22:37:27 +01:00
Sebastian Wolf
338fd3edd1
New release somewhen after TDLib upgrade 2022-01-07 23:58:45 +01: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
833f5f1df7
Prepare 0.12 2021-12-16 21:54:30 +01:00
Sebastian Wolf
2d58239c34
Merge pull request #466 from monich/forward
Optimized forwarding
2021-12-16 21:19:50 +01:00