mjentsch
68b71dae70
Fix tgp version displayed as NULL in sessions
...
Set telegram-purple version in app data, to make the correct version
show up in the session dialogue.
2016-01-24 16:11:33 +01:00
mjentsch
1808ca4984
Automatically refresh revoked sessions and prompt for a new code
2016-01-24 15:17:54 +01:00
mjentsch
c536cf0aec
Ask if secret chats should be accepted by default
2015-12-29 23:47:12 +01:00
mjentsch
c0f3020884
Fix group chats auto-initialized in wrong group
2015-12-29 22:18:11 +01:00
mjentsch
46485a08c3
Remove redundant code
...
Existance of print_name is already assured in the check above.
2015-12-29 15:28:57 +01:00
mjentsch
67bc9cea92
Remove testing / debugging code
2015-12-29 12:27:21 +01:00
mjentsch
fc9a7ebb2e
cleanup
2015-12-29 12:20:06 +01:00
mjentsch
b2541f14d4
Fix user alias not updated on name changes
2015-12-28 17:49:34 +01:00
mjentsch
8fed82cc75
Fix writing messages to deleted buddies and cleanup
...
Do not depend on buddy list entries when looking up the ID from the user name, by maintaining a bi-directional mapping ID <-> username. Rename functions to make them more evident as something that operatos on the lookup. Cleanup blist functions by implementating generic iterator function over account buddies.
2015-12-28 17:44:49 +01:00
mjentsch
c099d49f41
Do not display read recipes for non-user messages
2015-12-20 15:57:22 +01:00
mjentsch
88d3963929
Fix compiler warning
...
Remove unused function
2015-12-18 23:09:12 +01:00
mjentsch
b85fc85322
Fix auto-joining chats
2015-12-18 22:59:51 +01:00
mjentsch
18c2539f75
Fix regressions: chat actions not available for chats
2015-12-09 01:08:45 +01:00
mjentsch
3016781b52
Clean up dialog list code and improve logging
2015-12-01 20:44:33 +01:00
mjentsch
b3d538de8a
Improve error handling
2015-12-01 18:09:39 +01:00
mjentsch
202772ed78
Improve robustness against name changes
2015-11-29 13:11:48 +01:00
mjentsch
5502824ac4
Clean up, refactoring and fix coding guidelines
2015-11-28 20:17:47 +01:00
mjentsch
65fdf2802c
Remove "sync all" option that doesn't have any effect
...
When migrating to libtgl-internal authentication code it became impossible to define the "tgl_do_get_difference" options, which
makes it impossible to fetch past history on first login. As this option used to fetch the whole history since the "beginning of time",
it wasn't a viable option anyways, so removing it was necessary sooner or later. An action to fetch past history for
conversations / chats / globally on demand will be added in the future to make up for this.
2015-11-28 14:54:11 +01:00
mjentsch
5428b39547
Fix messages not being marked as read despite sending responses or typing
2015-11-28 02:33:50 +01:00
mjentsch
bf70a184e1
Cleanup and coding guidelines
2015-11-28 02:14:31 +01:00
Ben Wiederhake
7812603dee
Fix typo
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
a7be036a05
Remove unused commented-out code
2015-11-23 11:47:29 +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
a11c8da4fa
Remove unneded unix-specific includes
2015-11-23 02:55:44 +01:00
mjentsch
05131d999e
Remove code duplication
2015-11-23 01:33:20 +01:00
mjentsch
2d90f3ea03
More cleanup and refactoring
2015-11-21 22:14:57 +01:00
mjentsch
602edc8b5f
Cleanup and coding guidelines
2015-11-21 16:30:50 +01:00
mjentsch
1a428ed80a
Do not needlessly enable pfs anymore
2015-11-21 09:48:02 +01:00
mjentsch
05fc97381f
Cleanup and slightly improve labels
2015-11-21 09:47:33 +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
dc27b1ec03
Display secret chat once its ready
2015-11-21 00:18:08 +01:00
mjentsch
0826bcad76
Improve logging messages for peer updates
2015-11-21 00:14:52 +01:00
mjentsch
81cf092554
Fix adding foreign buddy
...
Fix user info and user status not being correctly fetched.
2015-11-18 01:19:40 +01:00
mjentsch
b721e8d217
Fix secret chats being duplicated on login
2015-11-16 16:15:20 +01:00
mjentsch
85df0e0bcd
Fix status not updated for all buddies
2015-11-16 15:48:30 +01:00
mjentsch
6e210b8417
Improve comments and logging messages
2015-11-16 15:47:32 +01:00
mjentsch
8ee4f680c2
Fix own name being added to the buddy list
2015-11-16 15:43:32 +01:00
mjentsch
a77adfaf0d
Fix offline messages being received on wrong conversations
...
Fix buddy messages are being received before buddy list was initialized, by changing the state to CONNECTED
on "logged in" event and not on "ready".
2015-11-16 15:41:51 +01:00
mjentsch
58b7f8c7f9
Coding style
2015-11-15 14:55:36 +01:00
mjentsch
f89f3fd71a
Remove code duplication in sign-in procedures
...
Use the new libtgl request_values callback to query inputs from the user instead
of implementing the sign-in methods manually.
2015-11-15 14:04:00 +01:00
mjentsch
82971299a7
Do not write to secret file when reading a secret chat from it
2015-11-12 21:14:12 +01:00
mjentsch
3fe025e877
Improve secret chat robustness.
...
Do not crash when removing secret chats and the print_name is not set
anymore.
2015-11-12 21:14:11 +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
4c32efddc2
Do not crash when opening / hovering over unmigrated buddies
2015-10-31 21:46:54 +01:00
mjentsch
42543706b4
Remove "Start secret chat ..." action from secret chats
2015-10-31 20:38:56 +01:00
mjentsch
e3892cab16
Fix leaving and removing chats again
2015-10-31 20:34:47 +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
5a0ee5b22e
Enable PFS
...
Seems to be the only way to trigger all the events loop in libtgl
2015-10-24 11:21:18 +13:00
Eion Robb
8562eb342c
Allow compiling on Windows
2015-10-22 21:41:37 +13:00