1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-06 03:50:08 +02:00

add an option to check quickly if location streaming is enabled for any chat

This commit is contained in:
B. Petersen 2019-03-29 18:06:12 +01:00
parent a8715f1b74
commit b0c5670ed9
No known key found for this signature in database
GPG key ID: 3B88E92DEA8E9AFC
2 changed files with 15 additions and 13 deletions

View file

@ -727,6 +727,9 @@ char* dc_cmdline(dc_context_t* context, const char* cmdline)
dc_log_info(context, 0, "================================================================================");
}
}
if (dc_is_sending_locations_to_chat(context, 0)) {
dc_log_info(context, 0, "Location streaming enabled.");
}
ret = dc_mprintf("%i chats.", (int)cnt);
dc_chatlist_unref(chatlist);
}