Sebastian Wolf
932f483b7a
TDLib 1.8.0: New format for sponsored messages
2022-01-07 22:03:58 +01:00
Slava Monich
84cfcb5150
Contigurable mess
...
There's no UI for that, you have to configure your mess manually))
Also, made sure that chats don't handle another char's mess.
2021-12-06 04:32:40 +02:00
Sebastian Wolf
a59d32b29d
Update to TDLib 1.7.9, preliminary support for sponsored messages
2021-12-05 22:06:05 +01:00
Sebastian Wolf
3176c3dc8c
Chat page: Adjust initial scroll position, honoring #243
2021-02-02 22:05:24 +01:00
Slava Monich
b1c4311990
Update message view counts in real time
2021-01-31 22:10:45 +02:00
Slava Monich
0cb19d833c
Message API usage cleanup
...
1. Pass chat_id where appropriate
2. Pass message_id and chat_id (which are numbers) as numbers
3. Use pre-initialized QStrings more often
4. Don't pass numbers by const reference, it doesn't make sense
5. Removed some redundant const modifiers
2020-12-30 18:20:50 +02:00
Sebastian Wolf
0f28db0115
Merge remote-tracking branch 'origin/master' into searching
2020-12-27 12:06:54 +01:00
Sebastian Wolf
19a17ed3f3
Now you can search in a chat...
2020-12-27 00:16:25 +01:00
John Gibbon
d0f33969eb
support basic bot messages (reply markup)
...
only inlineKeyboardButtonTypeCallback and inlineKeyboardButtonTypeUrl are implemented.
2020-12-27 00:01:59 +01:00
Sebastian Wolf
fe0b390a87
TDLib 1.7: Bring back pinned messages (nobody noticed so far?)
2020-12-25 22:38:13 +01:00
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
Slava Monich
d1ccf9f796
Show notification popups except for the current chat
...
And drop dependency on Ngf. Also, pre-initialize the chat photo when
pushing the chat page.
2020-11-20 21:42:23 +02:00
Sebastian Wolf
2830f50a35
React properly on pinned message changes, nice message overlay ;)
2020-11-18 14:59:35 +01:00
Slava Monich
8db731636c
Removed mutex from ChatModel
...
AFAICT there's nothing to synchronize here
2020-11-16 21:33:47 +02:00
Sebastian Wolf
9507024f51
Loading messages or not loading them...? Next step towards #136
2020-11-16 14:22:32 +01:00
Sebastian Wolf
85d1bebc3a
Load last read messages, enable lazy-loading the future, might fix #136
2020-11-15 23:05:22 +01:00
Slava Monich
2323c574b3
Handle updateChatPhoto message
2020-11-15 06:12:17 +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
fcc46fbc94
Auto-scroll to message if user sent it
2020-09-22 20:32:35 +02:00
Sebastian J. Wolf
64b6c8607e
Deleting messages seems to work...
2020-09-20 00:13:42 +02:00
Sebastian J. Wolf
b78a0f8731
Edit message seems to work
2020-09-19 20:33:51 +02:00
Sebastian J. Wolf
b5f39f78c0
Mark all messages as read in small chats
2020-09-16 21:12:39 +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
cff06cc32d
Try to get pending message state into the chat
2020-08-30 23:52:22 +02:00
Sebastian J. Wolf
a131aa739b
Add read/unread info to own messages
2020-08-30 19:04:16 +02:00
Sebastian J. Wolf
5c16a13b25
Add display of unread message count to chat
2020-08-29 21:39:57 +02:00
Sebastian J. Wolf
cca241ed9a
Fix infinite loading for small amount of messages
2020-08-29 18:28:57 +02:00
Sebastian J. Wolf
c741a157b7
Introduce video preview
2020-08-28 10:41:18 +02:00
Sebastian J. Wolf
8a3b07e537
Load older chat messages if needed
2020-08-26 22:52:06 +02:00
Sebastian J. Wolf
63966f052a
React properly if no messages are there...
2020-08-23 17:24:05 +02:00
Sebastian J. Wolf
c472e70775
React to new messages in chat
2020-08-22 23:49:02 +02:00
Sebastian J. Wolf
ca7abb2a2f
First chat message list :)
2020-08-22 21:43:20 +02:00
Sebastian J. Wolf
2750764de9
Skeleton for chat model
2020-08-22 17:30:02 +02:00