forked from friendica/friendica-addons
user selects preconfigured SN, put app name in pconfig
This commit is contained in:
parent
78f850215a
commit
61bbedcc0f
1 changed files with 1 additions and 0 deletions
|
@ -176,6 +176,7 @@ function statusnet_settings_post ($a,$post) {
|
||||||
set_pconfig(local_user(), 'statusnet', 'consumerkey', $asn['consumerkey'] );
|
set_pconfig(local_user(), 'statusnet', 'consumerkey', $asn['consumerkey'] );
|
||||||
set_pconfig(local_user(), 'statusnet', 'consumersecret', $asn['consumersecret'] );
|
set_pconfig(local_user(), 'statusnet', 'consumersecret', $asn['consumersecret'] );
|
||||||
set_pconfig(local_user(), 'statusnet', 'baseapi', $asn['apiurl'] );
|
set_pconfig(local_user(), 'statusnet', 'baseapi', $asn['apiurl'] );
|
||||||
|
set_pconfig(local_user(), 'statusnet', 'application_name', $asn['applicationname'] );
|
||||||
} else {
|
} else {
|
||||||
notice( t('Please contact your site administrator.<br />The provided API URL is not valid.').EOL.$asn['apiurl'].EOL );
|
notice( t('Please contact your site administrator.<br />The provided API URL is not valid.').EOL.$asn['apiurl'].EOL );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue