Fixed reply to messages without sender

pull/12/head
M66B 6 years ago
parent 1240b29404
commit 8c1ad78caf

@ -176,6 +176,7 @@ public class MessageHelper {
static Address[] decodeAddresses(String json) { static Address[] decodeAddresses(String json) {
List<Address> result = new ArrayList<>(); List<Address> result = new ArrayList<>();
if (json != null)
try { try {
JSONArray jaddresses = new JSONArray(json); JSONArray jaddresses = new JSONArray(json);
for (int i = 0; i < jaddresses.length(); i++) { for (int i = 0; i < jaddresses.length(); i++) {

Loading…
Cancel
Save