Was attempting to delete the same message twice

This commit is contained in:
Pierre Pronchery 2010-06-05 10:58:17 +00:00
parent 5ae625c4d9
commit 17d51d7d8a

View File

@ -944,8 +944,6 @@ void phone_read_delete(Phone * phone)
!= 0) != 0)
return; return;
phone_show_read(phone, FALSE); phone_show_read(phone, FALSE);
gsm_message_delete(phone->gsm, phone->re_index);
phone_show_read(phone, FALSE);
phone->me_progress = _phone_create_progress(phone->me_window, phone->me_progress = _phone_create_progress(phone->me_window,
_("Deleting message...")); _("Deleting message..."));
gsm_message_delete(phone->gsm, phone->re_index); gsm_message_delete(phone->gsm, phone->re_index);