harbour-fernschreiber/qml/pages
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
..
AboutPage.qml Prepare support for contact sync with SFOS 4.5 2023-02-05 20:17:06 +01:00
ChatInformationPage.qml Show channel members on chat information page 2021-01-14 01:38:23 +02:00
ChatPage.qml Adapt to changes in TdLib (#524) 2023-11-19 12:01:27 +03:00
ChatSelectionPage.qml Optimized forwarding 2021-12-15 01:30:26 +02:00
CoverPage.qml Don't show Active Sessions button when not authenticated 2021-02-25 02:59:51 +02:00
DebugPage.qml Added "Show all chats" switch to the Debug page 2020-12-16 16:04:15 +02:00
ImagePage.qml Remove unused TDLibFile from image page 2021-01-19 22:52:49 +01:00
InitializationPage.qml Don't show Active Sessions button when not authenticated 2021-02-25 02:59:51 +02:00
NewChatPage.qml Prepare support for contact sync with SFOS 4.5 2023-02-05 20:17:06 +01:00
OverviewPage.qml Try switching back to ChatListModel for opening chats via notifications 2021-12-15 22:07:14 +01:00
PollCreationPage.qml Implement sending Quiz explanations 2021-01-22 11:13:51 +01:00
PollResultsPage.qml TDLib 1.8.0: Headers and sender -> sender_id changes 2022-01-07 19:18:04 +01:00
SearchChatsPage.qml Add singular/plural forms to search chats page 2021-01-01 14:39:22 +01:00
SettingsPage.qml Move Session options to Settings page 2021-12-12 22:09:28 +01:00
VideoPage.qml Try to fix video page (without refactoring ;)) 2021-02-03 23:12:24 +01:00