Commit graph

38 commits

Author SHA1 Message Date
mjentsch
ca9d659ed2 Fix includes and remove obsolete code 2014-10-05 12:25:23 +02:00
mjentsch
a685c3b8bd Rename struct user to struct tgl_user to avoid namespace collisions with osx system headers 2014-10-04 20:36:54 +02:00
mjentsch
84e549fc96 Use correct DC number for our updated application configuration 2014-10-03 18:21:20 +02:00
mjentsch
97c8b37121 Do not use old tg-cli directory for storing files 2014-10-02 13:30:44 +02:00
mjentsch
7c69af9b00 Remove unused code 2014-10-02 12:46:19 +02:00
mjentsch
5c488f9c8d Support downloads from foreign DCs 2014-10-02 12:29:02 +02:00
Christopher Althaus
164620f65d Add show user icons in buddy list 2014-09-20 23:20:14 +02:00
mjentsch
4a062b764f Use a separate handles for each mtproto_connection 2014-09-17 22:51:46 +02:00
mjentsch
956a034be1 Add group chats 2014-09-07 20:56:44 +02:00
mjentsch
709b7f2cdb Use current home for config instead of a static directory 2014-09-07 13:48:25 +02:00
mjentsch
40485fabdc Remove unused code 2014-09-05 21:23:22 +02:00
mjentsch
a7bb59a13a move message store size into telegram.h 2014-09-01 22:25:02 +02:00
mjentsch
0aa8a9de15 Remove "_network" from telegram connect function 2014-09-01 22:14:40 +02:00
mjentsch
fa457a6900 Clean up out-commented code 2014-09-01 21:59:23 +02:00
mjentsch
b90c9453da Free memory and close connections on disconnect 2014-09-01 21:57:35 +02:00
mjentsch
d94dc52df0 Remove remaining global variables 2014-09-01 21:43:22 +02:00
Christopher Althaus
fa9d45bd20 User State/Typing implemented
Send Messages activated
2014-08-23 16:23:37 +02:00
mjentsch
7ee334ec37 Fix user registration 2014-08-23 02:52:04 +02:00
mjentsch
a4e5449d5a Move telegram callbacks and settings into configuration struct 2014-08-23 02:40:10 +02:00
mjentsch
f09b4c1c87 Move config function to avoid predeclaration 2014-08-22 19:02:11 +02:00
mjentsch
1e6598c11c Request proxy connections by callback
Require the user of telegram to provide a callback to create and cleanup proxy connections, to allow
the application to create new connections when needed.
2014-08-22 18:28:58 +02:00
mjentsch
e667299d2f Add binlog to telegram struct 2014-08-22 17:14:08 +02:00
mjentsch
32799a9086 Move binlog globals into a structure 2014-08-22 17:05:29 +02:00
mjentsch
1170ae5710 Implement state machine for dc discovery and login. 2014-08-08 08:45:58 +02:00
mjentsch
9e5b4ca5ec Refactor - Intermediate Commit 3 2014-08-06 19:45:46 +02:00
mjentsch
8a2c043db4 Refactor - Intermediate Commit 2 2014-07-29 15:36:59 +02:00
mjentsch
ed7aa7de5b Refactor Intermediate State 1 2014-07-29 15:36:59 +02:00
mjentsch
7fad1403ec Fetch chats and refactor libtelegram api 2014-07-11 19:57:32 +02:00
mjentsch
f78adc8b96 Support sending messages 2014-07-11 02:19:05 +02:00
mjentsch
43a5a80c48 Set up stub for telegram library 2014-07-11 01:13:01 +02:00
Vysheng
73a48816e4 Added /etc/telegram/server.pub as default server public key place 2014-02-04 20:35:16 +04:00
Vysheng
ae29e1d933 Many fixes. 2013-12-02 21:19:08 +04:00
Vysheng
ee1f45ec3d Manty fixes. Mostly binlog for messages 2013-11-30 01:43:56 +04:00
vysheng
e5cc589a0f Added GPL-headers to source files 2013-10-23 18:26:17 +04:00
Vysheng
baa56b709c Commit parse of many structures (message, chat, photo, etc) 2013-10-14 21:26:25 +04:00
Vysheng
bf291df34a Many fixes. Now (maybe) works authorization and get contact list query 2013-10-13 14:18:08 +04:00
Vysheng
3243c29a8c Big commit 2013-10-12 00:52:20 +04:00
vysheng
78f4d71855 Added some files 2013-10-03 16:38:25 +04:00