aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Accounts
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-11-21 16:44:55 +0100
committerCarl Schwan <carl@carlschwan.eu>2022-11-22 08:40:12 +0100
commitd1209d83023aaae7b844f4fc3b3668643718de14 (patch)
treeffb2682d6cde4542a2e8eec34604759e8669c323 /lib/private/Accounts
parentd847eacfbde90a2d4532f9c541d427be17b078bd (diff)
downloadnextcloud-server-d1209d83023aaae7b844f4fc3b3668643718de14.tar.gz
nextcloud-server-d1209d83023aaae7b844f4fc3b3668643718de14.zip
Rename mastodon to fediverse
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/private/Accounts')
-rw-r--r--lib/private/Accounts/AccountManager.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Accounts/AccountManager.php b/lib/private/Accounts/AccountManager.php
index 94b036c98d0..8fc16d5ce1a 100644
--- a/lib/private/Accounts/AccountManager.php
+++ b/lib/private/Accounts/AccountManager.php
@@ -131,7 +131,7 @@ class AccountManager implements IAccountManager {
self::PROPERTY_AVATAR => self::SCOPE_FEDERATED,
self::PROPERTY_PHONE => self::SCOPE_LOCAL,
self::PROPERTY_TWITTER => self::SCOPE_LOCAL,
- self::PROPERTY_MASTODON => self::SCOPE_LOCAL,
+ self::PROPERTY_FEDIVERSE => self::SCOPE_LOCAL,
self::PROPERTY_ORGANISATION => self::SCOPE_LOCAL,
self::PROPERTY_ROLE => self::SCOPE_LOCAL,
self::PROPERTY_HEADLINE => self::SCOPE_LOCAL,
@@ -526,7 +526,7 @@ class AccountManager implements IAccountManager {
protected function updateVerificationStatus(IAccount $updatedAccount, array $oldData): void {
static $propertiesVerifiableByLookupServer = [
self::PROPERTY_TWITTER,
- self::PROPERTY_MASTODON,
+ self::PROPERTY_FEDIVERSE,
self::PROPERTY_WEBSITE,
self::PROPERTY_EMAIL,
];
@@ -726,9 +726,9 @@ class AccountManager implements IAccountManager {
],
[
- 'name' => self::PROPERTY_MASTODON,
+ 'name' => self::PROPERTY_FEDIVERSE,
'value' => '',
- 'scope' => $scopes[self::PROPERTY_MASTODON],
+ 'scope' => $scopes[self::PROPERTY_FEDIVERSE],
'verified' => self::NOT_VERIFIED,
],