]> git.mxchange.org Git - friendica-addons.git/blobdiff - statusnet/statusnet.php
Merge pull request 'Invidious: The addon is now user definable' (#1449) from heluecht...
[friendica-addons.git] / statusnet / statusnet.php
index c168d612b0edb8eccd1fe21ca94e72afd3750ce3..f0372852af07eb6ba242812a50f019465a86711e 100644 (file)
@@ -266,7 +266,7 @@ function statusnet_settings(array &$data)
                '$request_token' => $request_token ?? null,
                '$account'       => $account ?? null,
 
-               '$authenticate_url' => DI::baseUrl()->get() . '/statusnet/connect',
+               '$authenticate_url' => DI::baseUrl() . '/statusnet/connect',
 
                '$consumerkey'    => ['statusnet-consumerkey', DI::l10n()->t('OAuth Consumer Key'), '', '', false, ' size="35'],
                '$consumersecret' => ['statusnet-consumersecret', DI::l10n()->t('OAuth Consumer Secret'), '', '', false, ' size="35'],
@@ -350,7 +350,7 @@ function statusnet_post_hook(array &$b)
        }
 
        // Dont't post if the post doesn't belong to us.
-       // This is a check for forum postings
+       // This is a check for group postings
        $self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]);
        if ($b['contact-id'] != $self['id']) {
                return;