projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove all existing posts of a Sone correctly.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
notify
/
ListNotificationFilters.java
diff --git
a/src/main/java/net/pterodactylus/sone/notify/ListNotificationFilters.java
b/src/main/java/net/pterodactylus/sone/notify/ListNotificationFilters.java
index
dbf09a3
..
f431bb7
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/notify/ListNotificationFilters.java
+++ b/
src/main/java/net/pterodactylus/sone/notify/ListNotificationFilters.java
@@
-243,9
+243,8
@@
public class ListNotificationFilters {
* received trust values. to prevent this we simply assume that
* posts are visible if there is no trust.
*/
* received trust values. to prevent this we simply assume that
* posts are visible if there is no trust.
*/
- return true;
}
}
- if ((!postSone.equals(sone)) && !sone.hasFriend(postSone.getId()) && !sone.
equals(post.getRecipient
())) {
+ if ((!postSone.equals(sone)) && !sone.hasFriend(postSone.getId()) && !sone.
getId().equals(post.getRecipientId().orNull
())) {
return false;
}
}
return false;
}
}