1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 02:29:28 +02:00

add a function to check if a given message object is bound to a location

This commit is contained in:
B. Petersen 2019-04-24 18:43:09 +02:00
parent 8b0ff6b3e8
commit 858a5e3acf
No known key found for this signature in database
GPG key ID: 3B88E92DEA8E9AFC
4 changed files with 16 additions and 2 deletions

View file

@ -264,10 +264,11 @@ static void log_msg(dc_context_t* context, const char* prefix, dc_msg_t* msg)
char* temp2 = dc_timestamp_to_str(dc_msg_get_timestamp(msg));
char* msgtext = dc_msg_get_text(msg);
dc_log_info(context, 0, "%s#%i%s: %s (Contact#%i): %s %s%s%s%s [%s]",
dc_log_info(context, 0, "%s#%i%s%s: %s (Contact#%i): %s %s%s%s%s [%s]",
prefix,
(int)dc_msg_get_id(msg),
dc_msg_get_showpadlock(msg)? UTF8_LOCK : "",
dc_msg_has_location(msg)? UTF8_ROUND_PUSHPIN : "",
contact_name,
contact_id,
msgtext,