Commit graph

30 commits

Author SHA1 Message Date
mjentsch
601440004a Fix read recipes only sent on next incoming message / read recipe 2015-11-28 02:14:31 +01:00
Ben Wiederhake
98221ec036 Implement basic raw-to-tga conversion 2015-11-25 20:32:31 +01:00
mjentsch
04bc03bebf Clean up the include mess
Keep all libtgl and telegram-purple includes in telegram-purple.h to prevent duplication of all those includes. Remove redundant includes.
2015-11-23 03:06:30 +01:00
mjentsch
2d90f3ea03 More cleanup and refactoring 2015-11-21 22:14:57 +01:00
Matthias Jentsch
ee9626e6da Merge remote-tracking branch 'wiederhake/beta4' into beta4 2015-10-20 12:38:40 +02:00
Matthias Jentsch
728da04d3c Try to fix failing reconnect after hibernate 2015-10-19 19:05:50 +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
cac87f92b8 Fix sticker resizing.
So far, a sticker of size 1028x1028 would have been resized to 128x128,
even though the maximum was set to 256x256.
This fix introduces a different way of resizing, which means that any dimension
of length >256 will result =256.

Also, I factored out the maximum size, so maybe we can make this an option in the future.
2015-10-08 17:44:12 +02:00
mjentsch
5064acaaf9 Cleanup an coding guidelines 2015-10-03 02:12:58 +02:00
mjentsch
c3f48b9835 Don't automatically add all chats to the buddy list
This should fix issue where left chats show up in the blist and cannot be removed anymore and broken Adium bookmarks.
This patch should make the whole chat handling much more native to libpurple, in which chats are added through the chatlist,
the join-chat window or automatically when incoming messages are received. Add a new option "Add chats to buddy list" in
case anyone wants the old behavior.
2015-09-12 22:21:27 +02:00
mjentsch
ff2df0861b Add users in bulk to generate better join-messages in Finch 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
abd316a659 Support leaving and deleting chats 2015-09-08 17:06:55 +02:00
mjentsch
644416aa89 Display user aliases of users not in the buddy list in group chats 2015-09-08 17:06:55 +02:00
mjentsch
f5ec7f3e80 Rework buddy list handling
Only add buddies that are on the dialogue list or were explicitly added by the user, to prevent adding non-related users that are now allocated due to protocol updates.
2015-08-22 13:07:11 +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
mjentsch
c3abf27376 Add support for displaying stickers in chats 2015-05-24 00:22:31 +02:00
mjentsch
7e03ff6e1b Remove naming incosistency 2015-03-13 18:40:28 +01:00
mjentsch
b67c4115ff Repository cleanup and housekeeping 2015-03-12 01:56:16 +01:00
mjentsch
c9aab9c8eb Support file transfers 2015-02-23 20:34:24 +01:00
mjentsch
3b940fca1d Fix outgoing messages for Adium and old libpurple versions 2015-01-28 18:51:07 +01:00
mjentsch
ac9ce29b1d Fix user info and clean up source code 2015-01-22 00:16:35 +01:00
mjentsch
e8f30f2284 Handle secret chat deletions 2015-01-07 16:54:35 +01:00
mjentsch
1dda956166 Support secret chats
Load and store secret chats in a file, handle secret chat updates, visualize fingerprint in settings
2015-01-04 12:36:13 +01:00
mjentsch
4fa2b91eaa Mark messages as read
Send a mark_read command for each received message as soon as the user is available.
2014-12-24 02:44:10 +01:00
mjentsch
b926b4d266 Respect user and chat updates during runtime
Update chat and user properties, update user profile photos, delete users and chats
2014-11-23 19:52:08 +01:00
Vysheng
3025c63350 small bugfixes 2014-11-17 16:27:01 +03:00
mjentsch
2586273f72 Clean up README and license headers 2014-11-16 20:41:03 +01:00
mjentsch
22a37c3894 Wrap purple functions for use with libtgl types 2014-11-16 16:33:27 +01:00