mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 18:06:35 +03:00
Introduce SecondaryAddrs config and make stuff work
This commit is contained in:
@@ -423,7 +423,7 @@ pub async fn delete_all(context: &Context) -> Result<()> {
|
||||
pub async fn get_kml(context: &Context, chat_id: ChatId) -> Result<(String, u32)> {
|
||||
let mut last_added_location_id = 0;
|
||||
|
||||
let self_addr = context.get_configured_addr().await?;
|
||||
let self_addr = context.get_primary_self_addr().await?;
|
||||
|
||||
let (locations_send_begin, locations_send_until, locations_last_sent) = context.sql.query_row(
|
||||
"SELECT locations_send_begin, locations_send_until, locations_last_sent FROM chats WHERE id=?;",
|
||||
|
||||
Reference in New Issue
Block a user