projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1630424
)
make sure the notice is a repeat, i.e. not a delete activity notice that also can...
author
hannes
<h@nnesmannerhe.im>
Sun, 22 Nov 2015 18:59:56 +0000
(18:59 +0000)
committer
hannes
<h@nnesmannerhe.im>
Sun, 22 Nov 2015 18:59:56 +0000
(18:59 +0000)
classes/Profile.php
patch
|
blob
|
history
diff --git
a/classes/Profile.php
b/classes/Profile.php
index 49addfe47fe887d72d84f73c57fde62c25ed1098..55961bfc9abc448717b453de2403ca3c23069cc3 100644
(file)
--- a/
classes/Profile.php
+++ b/
classes/Profile.php
@@
-1243,7
+1243,8
@@
class Profile extends Managed_DataObject
// XXX: not really a pkey, but should work
$notice = Notice::pkeyGet(array('profile_id' => $this->id,
- 'repeat_of' => $notice->id));
+ 'repeat_of' => $notice->id,
+ 'verb' => 'http://activitystrea.ms/schema/1.0/share'));
return !empty($notice);
}
@@
-1662,4
+1663,4
@@
class Profile extends Managed_DataObject
{
return $this->getUser()->getConnectedApps($offset, $limit);
}
-}
+}
\ No newline at end of file