| 1038 } |
1038 } |
| 1039 |
1039 |
| 1040 /* TODO: use 'Position' in contact_info to take into account where buddy is */ |
1040 /* TODO: use 'Position' in contact_info to take into account where buddy is */ |
| 1041 purple_blist_add_buddy(buddy, NULL, group, NULL /* insertion point */); |
1041 purple_blist_add_buddy(buddy, NULL, group, NULL /* insertion point */); |
| 1042 |
1042 |
| 1043 if (strtol(username, NULL, 10) == uid) { |
1043 if (strtoul(username, NULL, 10) == uid) { |
| 1044 /* |
1044 /* |
| 1045 * This user has not set their username! Set their server |
1045 * This user has not set their username! Set their server |
| 1046 * alias to their display name so that we don't see a bunch |
1046 * alias to their display name so that we don't see a bunch |
| 1047 * of numbers in the buddy list. |
1047 * of numbers in the buddy list. |
| 1048 */ |
1048 */ |