Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Backend - Engine
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
141
Issues
141
List
Boards
Labels
Service Desk
Milestones
Merge Requests
29
Merge Requests
29
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Backend - Engine
Compare Revisions
fbbe68428832bf571ebc8e8deb056b3168058012...c8faae41e95e642a7a10f591426d798bbab98b69
Source
c8faae41e95e642a7a10f591426d798bbab98b69
Select Git revision
...
Target
fbbe68428832bf571ebc8e8deb056b3168058012
Select Git revision
Compare
Commits (2)
(fix): attachments should use actions save
· ea0c176a
Mark Harding
authored
8 minutes ago
ea0c176a
Merge branch 'fix/NewsfeedAttachmentActionsSave' into 'master'
· c8faae41
Mark Harding
authored
3 minutes ago
(fix): attachments should use actions save See merge request
!188
c8faae41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
newsfeed.php
Controllers/api/v1/newsfeed.php
+2
-2
No files found.
Controllers/api/v1/newsfeed.php
View file @
c8faae41
...
...
@@ -596,7 +596,7 @@ class newsfeed implements Interfaces\Api
$attachment
->
setNsfw
(
$activity
->
getNsfw
());
$
attachment
->
save
();
$
save
->
setEntity
(
$attachment
)
->
save
();
switch
(
$attachment
->
subtype
)
{
case
"image"
:
...
...
@@ -644,7 +644,7 @@ class newsfeed implements Interfaces\Api
if
(
$activity
->
getPending
()
&&
$attachment
)
{
$attachment
->
access_id
=
0
;
$
attachment
->
save
();
$
save
->
setEntity
(
$attachment
)
->
save
();
}
}
...
...
This diff is collapsed.
Click to expand it.