define ( 'NETWORK_PUMPIO', 'pump'); // pump.io
define ( 'NETWORK_TWITTER', 'twit'); // Twitter
define ( 'NETWORK_DIASPORA2', 'dspc'); // Diaspora connector
+define ( 'NETWORK_STATUSNET', 'stac'); // Statusnet connector
define ( 'NETWORK_PHANTOM', 'unkn'); // Place holder
NETWORK_PUMPIO => (-13),
NETWORK_TWITTER => (-14),
NETWORK_DIASPORA2 => (-15),
+ NETWORK_STATUSNET => (-16),
NETWORK_PHANTOM => (-127),
);
NETWORK_MAIL2 => t('Email'),
NETWORK_GPLUS => t('Google+'),
NETWORK_PUMPIO => t('pump.io'),
- NETWORK_TWITTER => t('Twitter')
+ NETWORK_TWITTER => t('Twitter'),
+ NETWORK_DIASPORA2 => t('Diaspora Connector'),
+ NETWORK_STATUSNET => t('Statusnet')
);
call_hooks('network_to_name', $nets);
if(count($r)) {
$profile = $r[0]['url'];
//set newname to nick, find alias
- if(($r[0]['network'] === NETWORK_OSTATUS) OR ($r[0]['network'] === NETWORK_TWITTER)) {
+ if(($r[0]['network'] === NETWORK_OSTATUS) OR ($r[0]['network'] === NETWORK_TWITTER) OR ($r[0]['network'] === NETWORK_STATUSNET)) {
$newname = $r[0]['nick'];
$stat = true;
if($r[0]['alias'])