mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 02:08:40 +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