Version 1.0.2-SNAPSHOT bump
Fixed NPE if you create a Plaintext object without recipient
This commit is contained in:
parent
58e9644ff1
commit
db64b55510
@ -6,7 +6,7 @@ subprojects {
|
|||||||
|
|
||||||
sourceCompatibility = 1.7
|
sourceCompatibility = 1.7
|
||||||
group = 'ch.dissem.jabit'
|
group = 'ch.dissem.jabit'
|
||||||
version = '1.0.1'
|
version = '1.0.2-SNAPSHOT'
|
||||||
|
|
||||||
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
|
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
|
||||||
|
|
||||||
|
@ -455,7 +455,7 @@ public class Plaintext implements Streamable {
|
|||||||
behaviorBitfield
|
behaviorBitfield
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
if (to == null && type != Type.BROADCAST) {
|
if (to == null && type != Type.BROADCAST && destinationRipe != null) {
|
||||||
to = new BitmessageAddress(0, 0, destinationRipe);
|
to = new BitmessageAddress(0, 0, destinationRipe);
|
||||||
}
|
}
|
||||||
return new Plaintext(this);
|
return new Plaintext(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user