--- a/src/protocols/sametime/meanwhile/st_list.c Wed Nov 02 03:31:38 2005 +0000 +++ b/src/protocols/sametime/meanwhile/st_list.c Wed Nov 02 03:39:03 2005 +0000 @@ -569,15 +569,15 @@ str_replace(name, ';', ' '); if(idb.user && *idb.user) { - int l = strlen(idb.user) - 3; - type = idb.user[l]; - idb.user[l] = '\0'; + char *tmp = strstr(idb.user, "::"); + if(tmp--) { + type = *(tmp); + *tmp = '\0'; + } } if(name && *name) { - char *tmp; - - tmp = strrchr(name, ','); + char *tmp = strrchr(name, ','); if(tmp) { *tmp++ = '\0'; if(*tmp) alias = tmp;