diff options
-rw-r--r-- | skype/README | 8 | ||||
-rw-r--r-- | skype/skype.c | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/skype/README b/skype/README index aa32b48e..188ba933 100644 --- a/skype/README +++ b/skype/README @@ -80,13 +80,13 @@ NOTE: the <pass> option is not used currently. - Receiving away status changes -- skyped (the tcp daemon that is a gateway between Skype and tcp) +- `skyped` (the tcp daemon that is a gateway between Skype and tcp) -- Error handling when skyped is not running and when it exists +- Error handling when `skyped` is not running and when it exits -== What needs to be done (aka. TODO) +- Marking received messages as seen so that Skype won't say there are unread messages -- mark received messages as read so that skype won't say there are unread messages +== What needs to be done (aka. TODO) - Away status changes (send) diff --git a/skype/skype.c b/skype/skype.c index e1837063..18849fca 100644 --- a/skype/skype.c +++ b/skype/skype.c @@ -136,6 +136,8 @@ static gboolean skype_read_callback( gpointer data, gint fd, b_input_condition c skype_write( ic, buf, strlen( buf ) ); g_snprintf(buf, 1024, "GET CHATMESSAGE %s BODY\n", id); skype_write( ic, buf, strlen( buf ) ); + g_snprintf(buf, 1024, "SET CHATMESSAGE %s SEEN\n", id); + skype_write( ic, buf, strlen( buf ) ); } else if(!strncmp(info, "FROM_HANDLE ", 12)) { |