X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=account.pyx;h=5656405f61e68d68b4d220eb8eddbe1a8d92d909;hp=db56e2c4873dddf5774c9930d9a738f93dd4add5;hb=84a8f650634180df817b3c50ffd2f226b7cf3061;hpb=99b9434bf3dee660cff5a0603eade5800f108803 diff --git a/account.pyx b/account.pyx index db56e2c..5656405 100644 --- a/account.pyx +++ b/account.pyx @@ -469,6 +469,10 @@ cdef class Account: blist.purple_blist_add_buddy(c_buddy, NULL, c_group, NULL) account.purple_account_add_buddy(self._get_structure(), c_buddy) + if c_alias: + blist.purple_blist_alias_buddy(c_buddy, c_alias) + server.serv_alias_buddy(c_buddy) + return True else: