mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-23 06:56:20 +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:
@@ -1,7 +1,10 @@
|
||||
package org.whispersystems.textsecure.internal.push;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
public class ProvisioningMessage {
|
||||
|
||||
@JsonProperty
|
||||
private String body;
|
||||
|
||||
public ProvisioningMessage(String body) {
|
||||
|
||||
Reference in New Issue
Block a user