mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 13:36:30 +03:00
Replace magic constant with symbolic name
This commit is contained in:
committed by
Floris Bruynooghe
parent
cfe3c69f00
commit
2d0f563dfe
@@ -197,7 +197,7 @@ pub fn send_locations_to_chat(context: &Context, chat_id: u32, seconds: i64) {
|
||||
let now = time();
|
||||
let mut msg: Message;
|
||||
let is_sending_locations_before: bool;
|
||||
if !(seconds < 0 || chat_id <= 9i32 as libc::c_uint) {
|
||||
if !(seconds < 0 || chat_id <= DC_CHAT_ID_LAST_SPECIAL) {
|
||||
is_sending_locations_before = is_sending_locations_to_chat(context, chat_id);
|
||||
if sql::execute(
|
||||
context,
|
||||
|
||||
Reference in New Issue
Block a user