You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently dc_is_sending_locations_to_chat returns 1 if location streaming is enabled in the chat and 0 if it is not enabled. However, it is not possible to see if locations are actually available from the OS, i.e. whether any locations has been sent. For example, it is possible to enable location streaming for 5 minutes, but actually send no location messages at all because GPS does not work inside the building.
Currently the only way to see if location is attached within Delta Chat is to send a message to the chat and see if location icon is displayed. This is however going to be removed with #5546 (see #5545 for the reason).
Core knows if any locations have been added since locations_send_begin. In this case it should return 2 instead of 1. Old UI will treat this as a boolean, but new UI can display 1 as a grey icon indicating that location streaming has been enabled but no location has been sent yet and display 2 as a green icon indicating that set_location has actually been called since enabling location streaming. With Android fix deltachat/deltachat-android#3039 most of the time icon should be green immediately if location is available from the OS.
The text was updated successfully, but these errors were encountered:
Currently
dc_is_sending_locations_to_chat
returns 1 if location streaming is enabled in the chat and 0 if it is not enabled. However, it is not possible to see if locations are actually available from the OS, i.e. whether any locations has been sent. For example, it is possible to enable location streaming for 5 minutes, but actually send no location messages at all because GPS does not work inside the building.Currently the only way to see if location is attached within Delta Chat is to send a message to the chat and see if location icon is displayed. This is however going to be removed with #5546 (see #5545 for the reason).
Core knows if any locations have been added since
locations_send_begin
. In this case it should return 2 instead of 1. Old UI will treat this as a boolean, but new UI can display 1 as a grey icon indicating that location streaming has been enabled but no location has been sent yet and display 2 as a green icon indicating thatset_location
has actually been called since enabling location streaming. With Android fix deltachat/deltachat-android#3039 most of the time icon should be green immediately if location is available from the OS.The text was updated successfully, but these errors were encountered: