Commit graph

21 commits

Author SHA1 Message Date
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
0c718206d7 Move lodepng into separate folder 2015-01-02 22:03:47 +01:00
mjentsch
f834b7cd38 Fix memory leak 2015-01-02 19:55:43 +01:00
mjentsch
817ab52aae Merge branch 'master' into support-secret-chats
Conflicts:
	Makefile.in
	telegram-base.c
	telegram-base.h
	telegram-purple.c
	telegram-purple.h
2015-01-02 14:29:42 +01:00
mjentsch
8881011fac Move key visualization function into base functions 2015-01-02 14:12:52 +01:00
mjentsch
106f828b9e Mark chat messages as read 2015-01-02 12:54:41 +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
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
91b8cb5bb1 Add proper error handling for login phase 2014-12-19 11:22:24 +01:00
mjentsch
69360b4f57 Implement better fallback mode in case requests is missing
Open a dummy chat to query the user for the entered SMS code
2014-11-26 12:32:19 +01:00
mjentsch
62909f9c83 Implement better fallback behavior if requests.h is missing
When compat-mode is activated or purple_request does not return a valid handle, open a new conversation and query the user for the SMS code.
2014-11-26 09:30:43 +01:00
mjentsch
0a759867e2 Print service messages 2014-11-23 23:43:39 +01:00
vvaltman
10ca6ccd46 telegram-base: fixed bug in read_state 2014-11-22 17:32:10 +03:00
vvaltman
6e19bc87cf Fixed duplicate free. Escape received messages. Updated to latest tgl 2014-11-21 19:36:48 +03:00
vvaltman
3e4fc8513f Added support for incoming pictures 2014-11-21 17:44:49 +03:00
mjentsch
ba177d885a Add compatibility mode to support SMS authentication on clients that can't prompt the user directly
Read the sms code from settings in case compatibility mode is selected or
the purple_request functions do not return a valid code.
2014-11-16 21:55:36 +01:00
mjentsch
2586273f72 Clean up README and license headers 2014-11-16 20:41:03 +01:00
mjentsch
e3e8fb7984 Clean up repository
Remove outdated comments, refactor function names, conform to coding guidelines
2014-11-16 20:39:10 +01:00
mjentsch
ef23a1b589 Fix coding guidelines 2014-11-16 17:56:55 +01:00
Vysheng
5b4f1cd450 Updated to use subdirectory. Fixed buffer overflow in date format 2014-11-12 21:23:01 +03:00
Vysheng
8f69d8d11d Slightly working version 2014-11-11 20:21:14 +03:00