diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php
index 2e653aad..b08f5f74 100755
--- a/statusnet/statusnet.php
+++ b/statusnet/statusnet.php
@@ -195,6 +195,7 @@ function statusnet_settings_post ($a,$post) {
set_pconfig(local_user(), 'statusnet', 'consumerkey', $_POST['statusnet-consumerkey']);
set_pconfig(local_user(), 'statusnet', 'consumersecret', $_POST['statusnet-consumersecret']);
set_pconfig(local_user(), 'statusnet', 'baseapi', $apibase );
+ set_pconfig(local_user(), 'statusnet', 'application_name', $_POST['statusnet-applicationname'] );
} else {
// the API path is not correct, maybe missing trailing / ?
$apibase = $apibase . '/';
@@ -302,6 +303,9 @@ function statusnet_settings(&$a,&$s) {
$s .= '';
$s .= '
';
$s .= '