Slava Monich
b6c97c7f93
Optimized chat model a bit
...
1. Store and handle message ids as numbers rather than variants/strings
2. Incrementally update message id map
3. Expose additional roles and properties to avoid unnecessary lookups
2020-12-06 21:10:50 +02:00
Sebastian Wolf
00bb7289ad
Fix chat list short messages in channels
2020-12-04 20:28:42 +01:00
Slava Monich
38165c4f67
Add verification badge to verified chats
2020-12-03 02:13:35 +02:00
Sebastian Wolf
4cf35641c5
Secret chat identifer switches to qlonglong
2020-11-27 19:42:39 +01:00
Sebastian Wolf
deacb7f0ea
Synchronize contacts with Telegram
2020-11-26 22:18:51 +01:00
Sebastian Wolf
90f7535fda
Secret chats begin to work properly...
2020-11-26 00:25:15 +01:00
Sebastian Wolf
3b8d284b2b
Handle secret chat state for chat list
2020-11-25 22:09:47 +01:00
Slava Monich
162e1ca996
Take logging categories into use
...
Logging can be enabled in release build like this:
QT_LOGGING_RULES="fernschreiber.*=true" harbour-fernschreiber
See https://doc.qt.io/qt-5/qloggingcategory.html for more details.
2020-11-22 16:40:55 +02:00
Sebastian Wolf
dd6239c119
Hotfix: Use up-to-date chat information for open-by-notification
2020-11-20 19:08:05 +01:00
Sebastian Wolf
2830f50a35
React properly on pinned message changes, nice message overlay ;)
2020-11-18 14:59:35 +01:00
Slava Monich
2323c574b3
Handle updateChatPhoto message
2020-11-15 06:12:17 +02:00
Sebastian Wolf
fcf1bb2118
Display state of last message if it was sent by the user, fixes #152
2020-11-14 14:10:24 +01:00
Sebastian Wolf
5d3805759a
Small UI fixes, error handling for joining chats
2020-11-09 23:22:24 +01:00
Sebastian Wolf
9bb24b4862
Joining/leaving chats seems to work...
2020-11-07 20:29:44 +01:00
Slava Monich
4c2f9dba19
Moved chatTypeFromString from ChatListModel to TDLibWrapper
...
So that it can be used elsewhere
2020-10-31 21:19:34 +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
Sebastian J. Wolf
92a869f7db
Re-introduce chatChanged as chat list update is no longer properly working after #40
2020-10-04 16:06:20 +02:00
Sebastian J. Wolf
b0e995c069
Remove TYPE_MAP from ChatListModel after #45
2020-10-04 14:21:28 +02:00
Slava Monich
56bc1135a7
Don't show irrelevant groups by default
...
chatListModel.showAllChats property can be used to switch visibility
of irrelevant groups on and off.
2020-10-04 04:33:42 +03:00
Sebastian J. Wolf
ec9e4b2f0b
Handle message short texts properly in backend
2020-10-03 22:58:45 +02:00
Sebastian J. Wolf
79c77c426b
Don't display 'unknown' for channels in chat list
2020-10-03 21:06:50 +02:00
Slava Monich
39ecc7a058
Expose more roles from ChatListModel
...
Roles can now be directly bound to individual UI elements.
Replaced per-delegate timestamp refresh timers with a single
one refreshing all timestamps with a single dataChanged signal.
Removed chatChanged signal from since it's no longer necessary.
2020-10-03 21:02:33 +03:00
Sebastian J. Wolf
5fa2a1200f
Adjust new sorting logic to TDLib 1.6.0, add contributors' info
2020-09-28 20:47:03 +02:00
Slava Monich
f10d8a4045
Fix chat ordering and optimize chat data storage
2020-09-27 19:15:13 +03:00
Sebastian J. Wolf
64b6c8607e
Deleting messages seems to work...
2020-09-20 00:13:42 +02:00
Sebastian J. Wolf
9070caa2a3
Mute/unmute chats both from list and in chat
2020-09-16 20:43:36 +02:00
Sebastian J. Wolf
aa3a841fee
Prepare notification manager
2020-09-02 22:49:15 +02:00
Sebastian J. Wolf
a04332d4b6
Fix chat positioning and sent/read indicator
2020-08-31 21:51:52 +02:00
Sebastian J. Wolf
543ba5d46b
Force list item update after changed chats
2020-08-21 09:29:19 +02:00
Sebastian J. Wolf
588fbd11a8
Support some message types in chat list
2020-08-20 23:56:21 +02:00
Sebastian J. Wolf
13ce878b05
Display unread message count on chat list
2020-08-20 20:06:59 +02:00
Sebastian J. Wolf
d87b5b84fb
Surrendering - trying delta updates only after successful initialization
2020-08-20 18:45:56 +02:00
Sebastian J. Wolf
d29b3bd79b
Completed automated sorting, proper UI updates still missing
2020-08-20 17:06:47 +02:00
Sebastian J. Wolf
3948920a93
Sorting and updating is complicated
2020-08-20 14:58:32 +02:00
Sebastian J. Wolf
0a04169f4f
Sorting seems to work, we'll see...
2020-08-20 10:50:47 +02:00
Sebastian J. Wolf
8555716113
Display last message in chat list, start ordering them
2020-08-20 00:24:24 +02:00
Sebastian J. Wolf
c44d85732c
First steps to get a chat list on screen :)
2020-08-19 09:55:13 +02:00