Resultify MsgId.delete_from_db()

This commit is contained in:
Alexander Krotov
2020-02-25 22:47:59 +03:00
parent bc06b9e051
commit f2aa17c9d0
3 changed files with 6 additions and 10 deletions

View File

@@ -487,7 +487,7 @@ impl Job {
// Hidden messages are similar to trashed, but are
// related to some chat. We also delete their
// database records.
msg.id.delete_from_db(context);
job_try!(msg.id.delete_from_db(context))
} else {
// Remove server UID from the database record.
//