diff options
| -rw-r--r-- | skype/README | 7 | ||||
| -rw-r--r-- | skype/skype.c | 3 | 
2 files changed, 7 insertions, 3 deletions
| diff --git a/skype/README b/skype/README index 191c06d7..21d2201e 100644 --- a/skype/README +++ b/skype/README @@ -93,13 +93,14 @@ NOTE: the <pass> option is not used currently.  - Set away state when you do a `/away`. +-  When you `account off`, Skype will set status to `Offline` + +-  When you `account on`, Skype will set status to `Online` +  == What needs to be done (aka. TODO)  - detect when somebody wants to add us (confirm callback) --  When you `account off`, Skype will not set status to `Offline` --  When you `account on`, Skype will not set status to `Online` -  == I would like to have support for ...  If something does not work and it's not in the TODO section, then please contact me! diff --git a/skype/skype.c b/skype/skype.c index 51c95913..88713e47 100644 --- a/skype/skype.c +++ b/skype/skype.c @@ -191,6 +191,9 @@ gboolean skype_start_stream( struct im_connection *ic )  	buf = g_strdup_printf("SEARCH FRIENDS\n");  	st = skype_write( ic, buf, strlen( buf ) );  	g_free(buf); +	buf = g_strdup_printf("SET USERSTATUS ONLINE\n"); +	skype_write( ic, buf, strlen( buf ) ); +	g_free(buf);  	return st;  } | 
