2
0
mirror of https://github.com/ars3niy/tdlib-purple synced 2025-08-22 18:07:26 +00:00

79 Commits

Author SHA1 Message Date
Arseniy Lartsev
1d29d2eda4 Fixed re-joining group chat conversations at reconnect
It broke when changed to report account connected as soon as
authorization ready
2020-10-09 23:40:34 +02:00
Arseniy Lartsev
415ac53b1e Use away status instead of offline for all buddies
Telegram's concept of "offline" does't really mean offline
2020-10-07 22:22:42 +02:00
Arseniy Lartsev
8393db3298 Try to display messages in secret chats 2020-10-04 20:42:11 +02:00
Arseniy Lartsev
089913eb26 Set correct "who" for file transfers, and verify in tests 2020-10-04 20:42:11 +02:00
Arseniy Lartsev
b3baa548f6 Create libpurple buddies for secret chats 2020-10-04 20:42:11 +02:00
Arseniy Lartsev
a6062a50df Moved secret-chat-related stuff to a separate file 2020-10-04 20:42:11 +02:00
Arseniy Lartsev
6bbbd518ac Introduced type safety for various tdlib identifiers 2020-10-04 15:17:04 +02:00
Ben Wiederhake
928570701a Add missed translator note 2020-09-02 22:36:04 +02:00
Arseniy Lartsev
8e38173c75 De-translated some messages, and updated various comments 2020-09-02 21:21:35 +02:00
Arseniy Lartsev
fbd1c548a5 Prevent some bitlbee crashes 2020-08-27 20:42:57 +02:00
Arseniy Lartsev
23a14aa586 A Spectrum workaround for group chat notifications 2020-08-27 20:42:37 +02:00
Arseniy Lartsev
b55728270b Show stickers with PURPLE_MESSAGE_IMAGES 2020-08-27 17:32:17 +02:00
Arseniy Lartsev
6f6c7af73a Set connection to CONNECTED as soon as authorizationStateReady 2020-08-27 17:23:59 +02:00
Ben Wiederhake
6a2342617e Typos in strings and comments
These typos were introduced before this PR.
2020-08-23 19:15:43 +02:00
Ben Wiederhake
d77bd71a95 Add hints to translators how to reorder arguments 2020-08-23 19:15:43 +02:00
Arseniy Lartsev
802f687f71 Set PURPLE_MESSAGE_REMOTE_SEND flag when appropriate 2020-08-23 19:12:22 +02:00
Ben Wiederhake
67b1f50dc8 Capitalize username only at beginning of sentence 2020-08-19 23:40:53 +02:00
Ben Wiederhake
3671598099 i18n: Add translator notes, remove some over-generic dialog titles 2020-08-19 23:40:53 +02:00
Arseniy Lartsev
3662536fa5 Remove formatting tags from outgoing messages 2020-08-18 22:42:00 +02:00
Arseniy Lartsev
2096ab4cb6 Downloads using PurpleXfer: read tdlib file 1 MB at a time
Reading the whole file into a buffer can be a bad idea, what with
large file support in telegram
2020-08-15 19:48:05 +02:00
Arseniy Lartsev
ff3f1c684b Start looking at download behaviour account option, and some renaming 2020-08-14 22:07:22 +02:00
Arseniy Lartsev
9ecc3c94d5 Show author for messages in channel as "Channel post"
Rather than "someone"
2020-08-13 13:40:34 +02:00
Arseniy Lartsev
8888e025b6 Implemented joining public groups by group link or name 2020-08-13 13:34:23 +02:00
Arseniy Lartsev
ae2eae19cd Moved most file-transfer-related functions to separate file 2020-07-26 14:51:51 +02:00
Arseniy Lartsev
e4f4eef6cd Don't append space to account alias if there's no last name 2020-07-25 12:51:16 +02:00
Arseniy Lartsev
bc8be5a7dd Correctly handle chats left open since before last logout
They were sometimes not re-joined, leading to non-display of incoming
messages
2020-07-10 22:02:41 +02:00
Arseniy Lartsev
94e8252778 Always use purple_request_action directly
With purple_request_yes_no and the like, buttons don't get translated
2020-07-06 18:41:20 +02:00
Ben Wiederhake
9b1dfb0df2 Move 'char* _(char*)' to a common place 2020-07-06 10:21:27 +02:00
Arseniy Lartsev
fdd06e02b2 Show members of supergroups in libpurple chat
Show up to 200 members plus up to 200 administrators
2020-07-05 15:01:24 +02:00
Arseniy Lartsev
43ef8db254 Prevent a crash when buddy alias is NULL due to funny namey 2020-07-02 10:00:23 +02:00
Arseniy Lartsev
72d6f59e94 Show animated stickers as inline gifs 2020-06-13 16:01:05 +02:00
Arseniy Lartsev
230b5bfd9a Implemented room list (mostly for bitlbee and spectrum) 2020-06-11 21:16:08 +02:00
Arseniy Lartsev
9f7418dff2 Replaced more purple_account_get_alias with get_name_for_display 2020-06-11 11:29:39 +02:00
Arseniy Lartsev
a556917a92 Do not pass NULL user name to purple_conv_im_write
Bitlbee was crashing on it
2020-06-10 17:44:33 +02:00
Arseniy Lartsev
bf49eb9916 Do not rely on account having alias
This fixes bitlbee crash when viewing message which is a file sent from
ourselves from another client
2020-06-10 17:41:55 +02:00
Arseniy Lartsev
648314d106 Implemented adding users to groups 2020-06-07 14:07:58 +02:00
Arseniy Lartsev
1e0a45ceb7 Implemented command to remove users from group 2020-06-07 13:09:35 +02:00
Arseniy Lartsev
3b3746aa4f Try to explain the group member private conversation glitch to user 2020-06-07 01:14:06 +02:00
Arseniy Lartsev
a05f254d2f Don't show deleted users in group chat members 2020-06-06 21:20:39 +02:00
Arseniy Lartsev
e612a0aa8e Send messages and files to chat members not in buddy list 2020-06-06 20:12:12 +02:00
Arseniy Lartsev
a6aa6f4b1d Prepare writing to users who are not contacts 2020-06-06 14:20:56 +02:00
Arseniy Lartsev
6e2a178b0f Split outgoing messages that are above length or caption limit 2020-06-06 13:57:36 +02:00
Arseniy Lartsev
ba78eb937b Deal with special characters when sending and receiving messages 2020-06-06 11:28:09 +02:00
Arseniy Lartsev
6bc5db45d8 Notify about message send failures 2020-06-05 20:14:17 +02:00
Arseniy Lartsev
1efb0a235f Replaced purple_conversation_write with purple_conv_*_write 2020-06-05 01:18:48 +02:00
Arseniy Lartsev
23f4b75e01 Show avatars for users and group chats 2020-06-04 22:57:01 +02:00
Arseniy Lartsev
296812323a Report progress with PurpleXfer for downloads longer than a second 2020-06-04 01:29:26 +02:00
Arseniy Lartsev
af2b5adc03 Fixed file transfer problem 2020-06-02 21:32:48 +02:00
Arseniy Lartsev
c3d9165813 Prepare to show progress for downloads longer than one second 2020-06-02 18:42:19 +02:00
Arseniy Lartsev
8bfcd0ad61 Finished group description display and changes 2020-06-02 17:38:21 +02:00