File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -257,9 +257,9 @@ private function displayCircles(array $circles): void {
257257 Circle::$ DEF_SOURCE [$ circle ->getSource ()],
258258 $ this ->cut ($ displayName ? $ owner ->getDisplayName () : $ owner ->getUserId (), 40 ),
259259 $ this ->configService ->displayInstance ($ owner ->getInstance ()),
260- $ circle ->getPopulation () . '/ ' . $ this -> getInt (
261- 'members_limit ' , $ circle ->getSettings (), -1
262- )
260+ $ circle ->getPopulation () . '/ '
261+ . $ this -> getInt ( 'members_limit ' , $ circle ->getSettings (), -1 )
262+ . ' ( ' . $ circle -> getPopulationInherited () . ' ) '
263263 ]
264264 );
265265 }
Original file line number Diff line number Diff line change @@ -142,7 +142,9 @@ public function manage(FederatedEvent $event): void {
142142
143143 $ this ->circleRequest ->save ($ circle );
144144 $ this ->memberRequest ->save ($ owner );
145+
145146 $ this ->membershipService ->onUpdate ($ owner ->getSingleId ());
147+ $ this ->membershipService ->updatePopulation ($ circle );
146148
147149 $ this ->eventService ->circleCreating ($ event );
148150 }
You can’t perform that action at this time.
0 commit comments