Commit graph

15 commits

Author SHA1 Message Date
mjentsch
c3abf27376 Add support for displaying stickers in chats 2015-05-24 00:22:31 +02:00
mjentsch
b415bbd3b4 Update to libtgl v2 2015-05-23 00:18:26 +02:00
mjentsch
65f8c4aa6e Handle DC updates during authentication 2015-04-06 16:37:01 +02:00
mjentsch
b67c4115ff Repository cleanup and housekeeping 2015-03-12 01:56:16 +01:00
mjentsch
c3445be62f Fix debug logging linebreaks 2015-01-30 01:08:00 +01:00
mjentsch
adc429beb4 Fix coding style and remove old commented-out code 2015-01-23 20:56:50 +01:00
mjentsch
5553de65f6 Remove exponential timeouts to prevent segfaults
Do not create the reconnection timeout, since we don't use it anymore and it caused segfaults.
2015-01-09 11:56:03 +01:00
mjentsch
c1ab317f1b Error connection instead of reconnecting
Reconnection attempts are expected to be handled by libpurple and not by the protocol plugin, so it is visible to the user when the connection is not working.
2014-12-31 16:17:11 +01:00
mjentsch
d08e54d3e0 Move functions and defintions for plugin-internal structs into separate file and fix memory leak 2014-12-26 18:54:12 +01:00
vvaltman
68d69e1da8 Use latest version of tgl 2014-11-27 21:53:21 +03:00
mjentsch
d755992821 Prevent infinite loop on lost network connection
Increase the timeout exponentially on failed connections to prevent an infinite loop of reconnects.
2014-11-21 16:03:17 +01:00
mjentsch
54f6a29456 Accept conn_failed as valid state on timeouts
When the internet connection is lost, in some cases libpurple can return a file descriptor without any error that is still not writable or readable. In that case, the connection would remain in the state conn_error until the next ping timeout, which has been causing an assertion error until now.
2014-11-21 16:03:17 +01:00
mjentsch
ef23a1b589 Fix coding guidelines 2014-11-16 17:56:55 +01:00
mjentsch
363c170550 Free read-event properly in tgln_free 2014-11-15 01:14:29 +01:00
Vysheng
8f69d8d11d Slightly working version 2014-11-11 20:21:14 +03:00