Changeset 304aa33


Ignore:
Timestamp:
2010-04-13T23:26:02Z (10 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
4c674bb
Parents:
72b60c7e
Message:

add new setting to show mood texts

Location:
skype
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • skype/README

    r72b60c7e r304aa33  
    368368  * `account set skype/test_join true`
    369369
     370- Mood texts are not shown by default. If you want to see it:
     371
     372  * `account set skype/show_moods true`
     373
    370374== What needs to be done (aka. TODO)
    371375
  • skype/skype.c

    r72b60c7e r304aa33  
    326326                        g_free(buf);
    327327                }
    328         } else if (!strncmp(ptr, "FULLNAME ", 9))
     328        } else if (!strncmp(ptr, "MOOD_TEXT ", 10) && set_getbool(&ic->acc->set, "show_moods"))
     329                imcb_log(ic, "User `%s' changed mood text to `%s'", user, ptr + 10);
     330        else if (!strncmp(ptr, "FULLNAME ", 9))
    329331                sd->info_fullname = g_strdup(ptr + 9);
    330332        else if (!strncmp(ptr, "PHONE_HOME ", 11))
     
    12361238        s->flags |= ACC_SET_OFFLINE_ONLY;
    12371239
     1240        s = set_add(&acc->set, "show_moods", "false", set_eval_bool, acc);
     1241
    12381242        s = set_add(&acc->set, "edit_prefix", "EDIT:",
    12391243                        NULL, acc);
Note: See TracChangeset for help on using the changeset viewer.