Commit graph

31 commits

Author SHA1 Message Date
mjentsch
b85fc85322 Fix auto-joining chats 2015-12-18 22:59:51 +01:00
mjentsch
5502824ac4 Clean up, refactoring and fix coding guidelines 2015-11-28 20:17:47 +01:00
Ben Wiederhake
77317fb99f Add plural support
Fixes #139.
2015-11-26 08:23:25 +01:00
Ben Wiederhake
954ed6048b Clarify messages, use 'please' where appropriate 2015-11-26 08:23:25 +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
05131d999e Remove code duplication 2015-11-23 01:33:20 +01:00
Matthias Jentsch
ee9626e6da Merge remote-tracking branch 'wiederhake/beta4' into beta4 2015-10-20 12:38:40 +02:00
mjentsch
306273d4c4 Merge branch 'beta4-human-reable-user-names' into beta4 2015-10-17 18:09:42 +02:00
Ben Wiederhake
c1888926df Dumb typos. Sorry. 2015-10-12 18:48:56 +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
Ben Wiederhake
ed9505400d Remove dead code. 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
8009b8c0ac Translate strings in telegram-purple 2015-10-06 14:37:12 +02:00
Ben Wiederhake
47bd4b2b33 Use new API, fix build system. 2015-10-04 17:51:49 +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
47812f2f72 Improve string sanitation in fallback chat 2015-07-11 19:34:19 +02:00
mjentsch
006890a29c downscale big stickers
use sticker downscaling to keep readabillity in chats with many stickers
2015-06-04 14:27:49 +02:00
mjentsch
f092273bf6 Fix displaying messages send from other sessions 2015-05-25 22:36:30 +02:00
mjentsch
b5fb8df3b7 rename key visualization function 2015-05-24 00:23:28 +02:00
mjentsch
c3abf27376 Add support for displaying stickers in chats 2015-05-24 00:22:31 +02:00
mjentsch
e022b46ea0 Determine automatic filename, in case caption is missing 2015-05-23 03:07:44 +02:00
mjentsch
b415bbd3b4 Update to libtgl v2 2015-05-23 00:18:26 +02:00
mjentsch
1573309875 Fix retrieval threshold unlimited 2015-03-28 12:22:19 +01:00
mjentsch
7903ce1811 Fix user online/offline status
Fix bug that prevented users from being displayed as online. Add option to set inactive users offline after a certain amount of days. Clean up user status code.
2015-03-13 16:57:08 +01:00
mjentsch
b67c4115ff Repository cleanup and housekeeping 2015-03-12 01:56:16 +01:00
mjentsch
64e0a7f35f Fix plugin for Centos 6 by removing functions unsupported in old glib versions 2015-02-23 20:34:24 +01:00
mjentsch
c85b8da619 Do not add group chats in which the user is not a member
Clean up and refactor group chat code, move chat functions into separate file, always load all chat infos on plugin load so we know the members.
2015-01-28 18:41:41 +01:00
mjentsch
e938132721 Clean up and fix coding style 2015-01-25 22:49:46 +01:00
mjentsch
adc429beb4 Fix coding style and remove old commented-out code 2015-01-23 20:56:50 +01:00
mjentsch
ac9ce29b1d Fix user info and clean up source code 2015-01-22 00:16:35 +01:00