Arseniy Lartsev
6366ee473f
Made separate function for chat update
2020-05-19 16:02:42 +02:00
Arseniy Lartsev
f7597b2df0
Added -Wextra flag
2020-05-18 11:07:19 +02:00
Arseniy Lartsev
3e6b0663d7
Fetch old messages when they get replied to
2020-05-17 14:19:59 +02:00
Arseniy Lartsev
3b820fdd6a
Display server-side "last online" in buddy tooltip and user info
2020-05-16 21:08:05 +02:00
Arseniy Lartsev
007bbeddc2
Implemented user information
2020-05-16 20:49:50 +02:00
Arseniy Lartsev
b76dab25f4
Set correct conversation title when receiving group message at login
2020-05-16 19:25:01 +02:00
Arseniy Lartsev
44fd083947
Prepend "Forwarded from..." to received forwarded messages
2020-05-16 15:32:56 +02:00
Arseniy Lartsev
e5ecabf9e4
Don't show or store self-destructing messages
...
Also in group chat notifications about unsupported messages and such,
show which user they pertain to
2020-05-16 14:44:29 +02:00
Arseniy Lartsev
b2e6b37734
Quote original messages when displaying replies
2020-05-16 13:38:00 +02:00
Arseniy Lartsev
23c8b812a1
Implement sending images
2020-05-16 00:16:06 +02:00
Arseniy Lartsev
16ff2d734a
Mave just one "utils" file
2020-05-15 23:13:22 +02:00
Arseniy Lartsev
29b9dc2421
Show captions for already-downloaded images
...
Such as identical re-send by someone, or own outgoing message
2020-05-15 19:31:03 +02:00
Arseniy Lartsev
58ea8b8eba
Require account alias to be set when registering new user
2020-05-14 15:00:17 +02:00
Arseniy Lartsev
970c0d48a0
Register new user when requested
2020-05-14 14:51:26 +02:00
Arseniy Lartsev
0a0b10dca4
Don't preceed with login before AuthenticationStateReady
2020-05-14 14:51:26 +02:00
Arseniy Lartsev
3d79219904
Preparations for implementing sending images
2020-05-14 14:51:05 +02:00
Arseniy Lartsev
9649c08b97
Refactored message display functions
2020-05-13 19:15:15 +02:00
Arseniy Lartsev
f275484661
Show photos inline rather than as file:// links
2020-05-13 14:55:03 +02:00
Arseniy Lartsev
f2574aa4e7
Use requested group when adding contacts
2020-05-13 12:31:03 +02:00
Eion Robb
d01e1add9e
Fix printf macros for win32
2020-05-13 11:35:26 +02:00
Arseniy Lartsev
07ab43b170
Use user ID for libpurple user name, instead of phone number
2020-05-13 11:21:19 +02:00
Arseniy Lartsev
0613f3110c
Joning basic groups using invite link
2020-05-12 19:37:59 +02:00
Arseniy Lartsev
24c20de958
Refactored error handling
2020-05-12 16:00:07 +02:00
Arseniy Lartsev
cd57a65e33
Use _() and fmt library for all displayed messages
2020-05-12 15:33:16 +02:00
Arseniy Lartsev
c294fa1781
Refactored stickers
2020-05-12 13:01:18 +02:00
Arseniy Lartsev
b3857896a6
Replace .tgs stickers with their thumbnails
...
No one can display .tgs
2020-05-12 11:45:49 +02:00
Arseniy Lartsev
09951ef8b8
Receive and show stickers as clickable links
2020-05-12 10:57:32 +02:00
Arseniy Lartsev
986e071006
Moved couple more functions out of PurpleTdClient
2020-05-12 09:35:40 +02:00
Arseniy Lartsev
0ab857fdbc
Correctly show existing contacts in group chat user list
2020-05-11 23:38:21 +02:00
Arseniy Lartsev
f1efaa53c1
Moved some functions out of the mainest source file
2020-05-11 20:18:25 +02:00
Arseniy Lartsev
42f2441764
Show list of members in basic groups
2020-05-11 19:44:46 +02:00
Arseniy Lartsev
b34d10d242
Don't use td::td_api::downcast_call
...
It needs this member function with auto argument thing, which requires
-fconcepts flag to compile with newer gcc. Rather than have such
problems, just don't use this syntax.
2020-05-10 16:32:13 +02:00
Arseniy Lartsev
8cda4074b9
Support sending messages to group chats
2020-05-10 14:24:15 +02:00
Arseniy Lartsev
db1ee736f6
Added test case for incoming group chat message at login
2020-05-10 13:01:57 +02:00
Arseniy Lartsev
368dff17ad
Create conversation window when "joining" a chat
...
This works for groups we are already member of (these will be in the
contact list)
2020-05-10 12:19:19 +02:00
Arseniy Lartsev
29097c5ac4
Show photos in group chats (plus test case)
2020-05-09 20:48:31 +02:00
Arseniy Lartsev
deb5b14046
Added test for receiving messages in basic group
2020-05-09 19:46:02 +02:00
Arseniy Lartsev
75a1f01358
Implemented receiving group chat messages
2020-05-09 18:58:04 +02:00
Arseniy Lartsev
aa2db8ac20
Removed some obsolete comments and log messages
2020-05-09 15:22:49 +02:00
Arseniy Lartsev
2e998560e3
Create libpurple chats for group chats at login
2020-05-09 15:13:49 +02:00
Arseniy Lartsev
e9390f91fd
Create libpurple chats if we get added to groups while online
2020-05-09 14:53:48 +02:00
Arseniy Lartsev
27709bdf66
Go back to not adding buddies until connected
...
purple_blist_find_chat doesn't work on non-connected accounts, so just
in case, don't use purple_find_buddy either when not connected
2020-05-09 13:58:54 +02:00
Arseniy Lartsev
7b85148cda
More straightforward handling of updateNewChat
...
Add libpurple buddies as soon as updateNewChat has arrived and phone
number is known, regardles of whether it happens at login or later while
online.
2020-05-08 19:50:55 +02:00
Arseniy Lartsev
b76219c12d
Added support for receiving photos (kind of)
...
Pidgin shows them as clickable URLs, and on my systems, opens them with
konqueror of all things. But guess that's good enough.
2020-05-08 17:01:12 +02:00
Arseniy Lartsev
5f893255f7
Added test for some messages other than text and photo
2020-05-08 15:03:35 +02:00
Arseniy Lartsev
d682a2d4c5
Notify about all other message types as well
2020-05-08 13:22:21 +02:00
Arseniy Lartsev
a62647aed8
Notify about videos too, and refactored code there
2020-05-08 13:10:51 +02:00
Arseniy Lartsev
4717c76d35
Mention photos and files in messages (pending real support)
2020-05-07 21:44:51 +02:00
Arseniy Lartsev
c234b8e494
Aded more paranoid null checks
2020-05-07 21:44:45 +02:00
Arseniy Lartsev
af94d3b765
Verify libpurple actions in tests
2020-05-07 13:55:48 +02:00