B. Petersen 2 жил өмнө
parent
commit
092a6ce716

+ 1 - 1
deltachat-ios/Controller/MapViewController.swift

@@ -66,7 +66,7 @@ class MapViewController: WebxdcViewController {
         }
 
         let msg = dcContext.newMessage(viewType: DC_MSG_TEXT)
-        msg.text = payload["text"] as? String ?? "ErrText"
+        msg.text = payload["label"] as? String ?? "ErrLabel"
         msg.setLocation(lat: payload["lat"] as? Double ?? 0.0, lng: payload["lng"] as? Double ?? 0.0)
         return dcContext.sendMessage(chatId: chatId == 0 ? dcContext.createChatByContactId(contactId: Int(DC_CONTACT_ID_SELF)) : chatId, message: msg) != 0
     }