Merge pull request #177 from dgw/155-real-name
Set user real name to untouched nickname
This commit is contained in:
commit
8f7f57eaf2
|
@ -145,6 +145,7 @@ static void discord_handle_user(struct im_connection *ic, json_value *uinfo,
|
|||
|
||||
if (bu == NULL) {
|
||||
imcb_add_buddy(ic, name, NULL);
|
||||
imcb_rename_buddy(ic, name, json_o_str(uinfo, "username"));
|
||||
if (set_getbool(&ic->acc->set, "never_offline") == TRUE) {
|
||||
flags = BEE_USER_ONLINE | BEE_USER_AWAY;
|
||||
if (set_getbool(&ic->acc->set, "friendship_mode") == FALSE) {
|
||||
|
|
Loading…
Reference in New Issue