Skip to content

Commit

Permalink
using Circles::generateLink()
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <[email protected]>
  • Loading branch information
ArtificialOwl committed Jun 8, 2017
1 parent 9c51832 commit 43d2b4a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Activity/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

namespace OCA\Mood\Activity;

use OCA\Circles\Api\v1\Circles;
use OCA\Circles\Model\FederatedLink;
use OCA\Circles\Model\SharingFrame;
use OCA\Mood\Service\MiscService;
Expand Down Expand Up @@ -156,9 +157,7 @@ private function generateCircleParameter(SharingFrame $frame) {
'type' => 'circle',
'id' => $frame->getCircleId(),
'name' => $frame->getCircleName(),
'link' => \OC::$server->getURLGenerator()
->linkToRoute('circles.Navigation.navigate')
. '#' . $frame->getCircleId()
'link' => Circles::generateLink($frame->getCircleId())
];
}

Expand Down

0 comments on commit 43d2b4a

Please sign in to comment.