Sebastian Wolf
8531a46015
More places affected by new username handling
2023-11-19 21:49:00 +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
Slava Monich
f152bbeb5b
Always show user or group id on the info page ( #511 )
...
And copy it to the clipboard on tap.
2023-02-05 15:52:06 +01:00
Sebastian Wolf
57f2d71eca
Basic group chat members come in differently
2021-12-08 21:24:29 +01:00
Sebastian Wolf
b5b0ec5ed1
Some fixes for #457 were missing...
2021-12-07 20:36:48 +01:00
Sebastian Wolf
b2e41a6421
Adapt to new chat member format, fixes #457
2021-12-06 23:51:54 +01:00
jngibbon
fa9e0c7d54
Update chatNotificationSettings in chat info page
2021-07-02 23:47:30 +02:00
Sebastian Wolf
5e6cd6f4b4
Prepare adding/deleting profile pictures
2021-01-25 23:39:54 +01:00
Sebastian Wolf
4e6d012a7d
Start with personal profile settings
2021-01-19 00:02:37 +01:00
Slava Monich
14f73dbb48
Fixed QML runtime warning in ChatInformationTabItemMembersGroups
...
ChatInformationTabItemMembersGroups.qml:75:28: Unable to assign QString to QVariantMap
2021-01-17 21:37:47 +02:00
Sebastian Wolf
74d584fdcc
Merge pull request #318 from monich/can_get_members
...
Show channel members on chat information page
2021-01-15 21:52:06 +01:00
Slava Monich
08a95d4f07
Show channel members on chat information page
...
if can_get_members in supergroupFullInfo is true.
2021-01-14 01:38:23 +02:00
John Gibbon
1ce981c147
Implement inline queries (among others)
2021-01-10 22:20:05 +01:00
John Gibbon
653a35500c
speed up overview page loading
...
contributes to #198
2020-12-25 23:22:11 +01:00
Sebastian Wolf
782599f905
Simplify remorse popups, see #206
2020-11-29 13:33:14 +01:00
Sebastian Wolf
48b5e14335
Improvements after feedback round
2020-11-28 19:11:51 +01:00
John Gibbon
9e405918f7
fix functions scope; make appNotification global
...
I've left some instances of AppNotification items where they're supposed to be centered inside a component, not the whole page.
2020-11-23 20:15:28 +01:00
John Gibbon
aec4666721
Fix copy paste artifacts
2020-11-23 08:27:56 +01:00
John Gibbon
7017818acb
Add switchable Debug output (JS)
2020-11-23 00:08:04 +01:00
John Gibbon
352493f100
Use TruncationMode.Fade
2020-11-22 20:19:14 +01:00
John Gibbon
07b8d35fb3
Remove obsolete emoji basePath workaround
2020-11-22 20:19:14 +01:00
Slava Monich
42ebec4503
Do not animate tab item width
...
It looks weird when they are moving around the screen after page
orientation changes.
2020-11-22 13:31:04 +02:00
Sebastian Wolf
82d0058746
Merge pull request #179 from jgibbon/bugfix/#20_translation_plurals
...
Bugfix/#20 translation plurals
2020-11-19 21:01:19 +01:00
Sebastian Wolf
e4dbb63a92
Properly encode HTML entities for chat's last message
2020-11-19 11:41:32 +01:00
John Gibbon
b48ca728d2
change/enable plural handling
2020-11-19 11:27:10 +01:00
John Gibbon
77efd43bde
fix channel handling
2020-11-18 10:34:46 +01:00
John Gibbon
13fbd8e7a6
fix pulley menu
2020-11-18 10:34:13 +01:00
John Gibbon
95b0ddef8e
align page header image; use space for text when image is further down
2020-11-18 10:27:48 +01:00
John Gibbon
b2f46b54f4
fix online member count
2020-11-18 10:08:37 +01:00
John Gibbon
813c7912fe
chat info: review optimizations
2020-11-17 10:09:11 +01:00
John Gibbon
78cc3fbac4
chat info: fix imports
2020-11-17 10:09:11 +01:00
John Gibbon
182a2d1344
ChatInfoPage as attached page
...
fixes #150 : Now basically everything is inside a loader; ChatInformationPage is added to ChatPage with pageStack.pushAttached
fixes #166 : Replaces the clunky VisualItemModel in tab view and doesn't initialize multiple times.
2020-11-17 10:09:11 +01:00
Sebastian Wolf
3607ca98a0
Fix flickering image during resize on chat information page
2020-11-10 21:11:25 +01:00
John Gibbon
fdb8cc5852
replace variant with var
...
https://doc.qt.io/archives/qt-5.6/qtquick-performance.html
In general, "property var" should be considered to be superior to "property variant" for every use-case from QtQuick 2.0 and newer (note that "property variant" is marked as obsolete), as it allows a true JavaScript reference to be stored (which can reduce the number of conversions required in certain expressions).
2020-11-05 23:23:37 +01:00
Sebastian Wolf
179ef885b5
Chat Information Page: More tweaks
2020-11-02 23:19:50 +01:00
Sebastian Wolf
5ee71dda29
Chat Information Page: Improvements for channels
2020-11-02 22:51:12 +01:00
John Gibbon
8c69e04e83
Fix emoji paths for chat information Items
2020-10-27 21:42:39 +01:00
John Gibbon
214a6c780c
Fix crash with no groups in common
2020-10-19 21:06:28 +02:00
Sebastian J. Wolf
91ae3651ef
Change license header to reflect number of contributions
2020-10-19 19:34:47 +02:00
John Gibbon
74a732a5b6
implement chat info page
...
includes some basic group administration features
2020-10-19 12:48:55 +02:00