projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'release-0.3.6.3'
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
Post.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/Post.java
b/src/main/java/net/pterodactylus/sone/data/Post.java
index
21ba42d
..
964a054
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/Post.java
+++ b/
src/main/java/net/pterodactylus/sone/data/Post.java
@@
-159,7
+159,9
@@
public class Post {
* @return This post (for method chaining)
*/
public Post setRecipient(Sone recipient) {
- this.recipient = recipient;
+ if (!sone.equals(recipient)) {
+ this.recipient = recipient;
+ }
return this;
}