Resultify set_gossiped_timestamp

This commit is contained in:
Alexander Krotov
2019-12-11 16:43:21 +03:00
committed by holger krekel
parent 9e309132f8
commit 789fc0a7e0
4 changed files with 11 additions and 10 deletions

View File

@@ -678,7 +678,7 @@ pub fn job_send_msg(context: &Context, msg_id: MsgId) -> Result<(), Error> {
}
if rendered_msg.is_gossiped {
chat::set_gossiped_timestamp(context, msg.chat_id, time());
chat::set_gossiped_timestamp(context, msg.chat_id, time())?;
}
if 0 != rendered_msg.last_added_location_id {