File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99namespace OCA \Bookmarks \BackgroundJobs ;
1010
1111use OCA \Bookmarks \AppInfo \Application ;
12+ use OCA \Bookmarks \ContextChat \ContextChatProvider ;
1213use OCA \Bookmarks \Service \BookmarkService ;
1314use OCA \ContextChat \Public \ContentItem ;
1415use OCA \ContextChat \Public \ContentManager ;
@@ -23,6 +24,7 @@ public function __construct(
2324 private BookmarkService $ bookmarkService ,
2425 private ?ContentManager $ contentManager ,
2526 private IUserManager $ userManager ,
27+ private ContextChatProvider $ provider ,
2628 ) {
2729 parent ::__construct ($ timeFactory );
2830 }
@@ -42,7 +44,7 @@ protected function run($argument) {
4244 foreach ($ this ->bookmarkService ->getIterator ($ user ->getUID ()) as $ bookmark ) {
4345 $ items [] = new ContentItem (
4446 (string )$ bookmark ->getId (),
45- $ this ->getId (),
47+ $ this ->provider -> getId (),
4648 $ bookmark ->getTitle (),
4749 $ bookmark ->getTextContent (),
4850 'Website ' ,
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <files psalm-version =" 6.12 .0@cf420941d061a57050b6c468ef2c778faf40aee2 " >
2+ <files psalm-version =" 6.13 .0@70cdf647255a1362b426bb0f522a85817b8c791c " >
33 <file src =" lib/AppInfo/Application.php" >
44 <InvalidArgument >
55 <code ><![CDATA[ UsersGroupsCirclesListener::class]]> </code >
4040 <code ><![CDATA[ $qb->createPositionalParameter(TreeMapper::TYPE_BOOKMARK)]]> </code >
4141 <code ><![CDATA[ $qb->createPositionalParameter(TreeMapper::TYPE_BOOKMARK)]]> </code >
4242 <code ><![CDATA[ $qb->createPositionalParameter(TreeMapper::TYPE_BOOKMARK)]]> </code >
43+ <code ><![CDATA[ $qb->createPositionalParameter(TreeMapper::TYPE_BOOKMARK)]]> </code >
4344 <code ><![CDATA[ $recursiveCase->createPositionalParameter(TreeMapper::TYPE_FOLDER)]]> </code >
4445 <code ><![CDATA[ $recursiveCaseShares->createPositionalParameter(TreeMapper::TYPE_FOLDER)]]> </code >
4546 <code ><![CDATA[ $recursiveCaseShares->createPositionalParameter(TreeMapper::TYPE_SHARE)]]> </code >
You can’t perform that action at this time.
0 commit comments