mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-30 09:20:53 +00:00
Fix provisioning flow
Make ProvisionMessage serializable. Previously the lack of jackson annotations caused this object to serialize as empty string, which elicits a 500 from the server. Closes #3
This commit is contained in:
parent
1e748b99d0
commit
9cada7e229
@ -1,7 +1,10 @@
|
|||||||
package org.whispersystems.textsecure.internal.push;
|
package org.whispersystems.textsecure.internal.push;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
public class ProvisioningMessage {
|
public class ProvisioningMessage {
|
||||||
|
|
||||||
|
@JsonProperty
|
||||||
private String body;
|
private String body;
|
||||||
|
|
||||||
public ProvisioningMessage(String body) {
|
public ProvisioningMessage(String body) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user