mjentsch
602edc8b5f
Cleanup and coding guidelines
2015-11-21 16:30:50 +01:00
mjentsch
c7a855a62c
Do not rely on g_utf_8_substring length checking, it doesn't always do it
2015-11-21 16:23:46 +01:00
mjentsch
0b0dbfd25e
Merge branch 'beta4' of https://github.com/EionRobb/telegram-purple into EionRobb-beta4
2015-11-21 01:14:06 +01:00
mjentsch
23b357fac3
Fix read recipes not being sent when users leave or join chats
2015-11-01 19:11:22 +01:00
mjentsch
81b64d7542
Fix "crashes" on name changes
...
Do not assume that a name for each ID can only be set once anymore.
Remove assertion that names always exist, return 0 instead and propagate
error handling to the calling function.
2015-10-31 20:09:31 +01:00
Eion Robb
8562eb342c
Allow compiling on Windows
2015-10-22 21:41:37 +13:00
Matthias Jentsch
b8e73f819c
Fix compilation errors and warning when disbaling libwebp
2015-10-20 14:15:50 +02:00
mjentsch
306273d4c4
Merge branch 'beta4-human-reable-user-names' into beta4
2015-10-17 18:09:42 +02:00
mjentsch
df5a168a1f
Remove unneeded and confusing messages
2015-10-17 00:26:00 +02:00
mjentsch
3f2f557284
Use clearer names for name and id resolution functions and clean up
2015-10-16 22:45:21 +02:00
mjentsch
a2fc31cda7
Fix service message formatting in Adium
...
Adium drops MESSAGE_SYSTEM flags in serv_got_im, directly write to the conversation in case the message contains such a flag.
2015-10-16 00:33:23 +02:00
mjentsch
afa650cfc1
Fix messages in secret chats not showing notifications in Adium
...
Secret chat messages are always unread, do not set MESSAGE_DELAYED.
2015-10-16 00:28:36 +02:00
mjentsch
76e6c2a4ad
Never drop unread messages, even when they are older than the history threshold
2015-10-16 00:24:00 +02:00
Ben Wiederhake
029c1eece3
Rebasing mistake. Sorry.
2015-10-12 19:58:48 +02:00
Ben Wiederhake
c1888926df
Dumb typos. Sorry.
2015-10-12 18:48:56 +02:00
Ben Wiederhake
65336849fb
Beautify and fix strings (part 1/2).
2015-10-12 13:27:46 +02:00
mjentsch
365f7b1da1
Provide utility function for printing system messages in all chat types
2015-10-11 14:19:37 +02:00
mjentsch
4eeb7f73c9
Overhaul username handling
...
Use print names instead of ids as usernames, to fix problems with "useless" user ids showing up for unknown users and in group chats. Remove workarounds like "Telegram Foreign" needed to temporarily store user names for alias resolution.
2015-10-11 14:17:24 +02:00
Ben Wiederhake
f3acef6737
Fix a few unimportant memory leaks.
2015-10-07 22:07:56 +02:00
Ben Wiederhake
6e7e9ce862
Fix translations to be at least passable.
2015-10-07 22:07:56 +02:00
mjentsch
688f628890
Consolidate user messages
2015-10-06 19:23:07 +02:00
mjentsch
8009b8c0ac
Translate strings in telegram-purple
2015-10-06 14:37:12 +02:00
mjentsch
08168c6339
Include translation functions and restructure includes
2015-10-06 14:28:13 +02:00
mjentsch
f0b0550cf8
Support message mentions
...
Display mentions like messages that contain the user nick in Pidgin.
2015-10-06 13:45:59 +02:00
mjentsch
ba8d9cf378
Fix compilation when not using libwebp
2015-10-05 13:01:17 +02:00
Ben Wiederhake
47bd4b2b33
Use new API, fix build system.
2015-10-04 17:51:49 +02:00
mjentsch
0c06c63dc8
Fix support for old glib versions
2015-09-08 22:28:24 +02:00
mjentsch
a43aa8de42
Prevent flood warnings #2
...
Only get every chat info exactly once to avoid stalling of the incoming message queue through flood warnings.
2015-09-08 22:13:37 +02:00
mjentsch
936c541361
Fix segfault when receiving msg_send_done callback without a message
2015-09-08 17:06:56 +02:00
mjentsch
a5cef7dcaa
Add support for roomlists
2015-09-08 17:06:56 +02:00
mjentsch
888cffffc1
Improve group chat management
...
Load full chat info lazily, prevents useless network request and should fix issues with delays through flood errors when handling big amounts of user chats. Handle chat participant deletions and additions correctly and only touch the user list when it is actually updated, this should fix some issues with printing annoying messages in Finch and users not showing up in the buddy list in certain situations. Only add chats to buddy list that are actively joined or receive incoming message, which should help keeping the buddy list more tidy when using much chats.
2015-09-08 17:06:56 +02:00
mjentsch
592b31e8c8
Cleanup
2015-09-08 17:06:55 +02:00
mjentsch
973f236abc
Fix OSM geo link formatting when using a different locale
2015-08-28 20:55:31 +02:00
mjentsch
b6136a6a9c
Fix sending animated pictures by inline image
2015-08-28 00:03:33 +02:00
mjentsch
1a8172e922
Fix issue that caused sending captioned images to fail in Pidgin
2015-08-27 23:40:08 +02:00
mjentsch
70b03b969c
Try to fix secret chat corruption
2015-08-25 21:54:15 +02:00
mjentsch
5e65a6675c
Fix compilation
2015-08-22 13:42:44 +02:00
mjentsch
8af1991bc8
Update libtgl and fix receiving file transfers of audio and video documents
2015-08-22 13:34:53 +02:00
mjentsch
4b96e3cb34
Do not display notifications and sounds for messages that were already read on other devices
...
This should make receiving message history a little less annoying when not using the client for a long time, while still getting the full history in your log.
2015-08-02 19:52:30 +02:00
mjentsch
dc5bc8d039
Improve error handling
2015-08-01 23:34:00 +02:00
mjentsch
8ebd970fbc
Escape webpage messages properly
2015-07-31 12:53:24 +02:00
mjentsch
dd6031900e
Cleanup
2015-07-30 21:49:13 +02:00
mjentsch
e8ceb21e64
Revise media message handling
...
This should fix many seg faults and make media handling more consistent.
2015-07-30 11:45:50 +02:00
mjentsch
f810ac5b94
Update user list in chats properly
2015-07-28 21:28:28 +02:00
mjentsch
e14b681d6e
Fix segfault
2015-07-19 15:07:27 +02:00
mjentsch
c7898c7596
Support image captions
2015-07-11 19:50:55 +02:00
mjentsch
01e7f8da2b
Improve printing geo positions
2015-07-11 19:50:32 +02:00
mjentsch
8f790253a7
Improve geo position link and support printing venues
2015-07-11 18:31:03 +02:00
mjentsch
51064e06b4
Update tgl version
2015-07-11 17:41:50 +02:00
mjentsch
e7554c739c
Add option for disabling sending a message read recipes, and fix some bugs in adium settings menu
2015-05-30 15:52:17 +02:00