Skip to content

Commit

Permalink
Merge pull request #845 from nextcloud/enh/noid/gs-light-changes
Browse files Browse the repository at this point in the history
update cachedName at member creation
  • Loading branch information
ArtificialOwl authored Nov 19, 2021
2 parents e79abd9 + e27f1d5 commit e35c0f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/GlobalScale/MemberAdd.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ public function manage(GSEvent $event): void {
}


//
// TODO: verifiez comment se passe le cached name sur un member_add
//
$this->membersService->updateCachedName($member, false);
$this->membersRequest->updateMemberInfo($member);

$cachedName = $member->getCachedName();
$password = $event->getData()
->g('password');
Expand Down
2 changes: 1 addition & 1 deletion lib/Service/ConfigService.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class ConfigService {
self::FRONTAL_CLOUD_SCHEME => 'https',
self::CIRCLES_ACTIVITY_ON_CREATION => '1',
self::CIRCLES_SKIP_INVITATION_STEP => '0',
self::CIRCLES_SEARCH_FROM_COLLABORATOR => '0'
self::CIRCLES_SEARCH_FROM_COLLABORATOR => '1'
];

/** @var string */
Expand Down

0 comments on commit e35c0f5

Please sign in to comment.