projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Also show posts and replies that have the current Sone as post recipient.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
ajax
/
GetStatusAjaxPage.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/ajax/GetStatusAjaxPage.java
b/src/main/java/net/pterodactylus/sone/web/ajax/GetStatusAjaxPage.java
index
69d831d
..
426c08f
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/ajax/GetStatusAjaxPage.java
+++ b/
src/main/java/net/pterodactylus/sone/web/ajax/GetStatusAjaxPage.java
@@
-97,7
+97,7
@@
public class GetStatusAjaxPage extends JsonPage {
@Override
public boolean filterObject(Post post) {
@Override
public boolean filterObject(Post post) {
- return currentSone.hasFriend(post.getSone().getId()) || currentSone.equals(post.getSone());
+ return currentSone.hasFriend(post.getSone().getId()) || currentSone.equals(post.getSone())
|| currentSone.equals(post.getRecipient())
;
}
});
}
});
@@
-118,7
+118,7
@@
public class GetStatusAjaxPage extends JsonPage {
@Override
public boolean filterObject(Reply reply) {
@Override
public boolean filterObject(Reply reply) {
- return currentSone.hasFriend(reply.getPost().getSone().getId()) || currentSone.equals(reply.getPost().getSone());
+ return currentSone.hasFriend(reply.getPost().getSone().getId()) || currentSone.equals(reply.getPost().getSone())
|| currentSone.equals(reply.getPost().getRecipient())
;
}
});
}
});