baedert / corebird

Native Gtk+ Twitter Client
https://corebird.baedert.org
GNU General Public License v3.0
790 stars 78 forks source link

Handle replies to deleted tweets #712

Open baedert opened 7 years ago

baedert commented 7 years ago

When replying to a tweet, that tweet can be deleted while it's being replied to. Wen can catch this in some cases (namely, when the user is following the author of the tweet I assume, unless those rules for the streaming API are vastly different) and inform the user that sending the tweet is not going to succeed anyway, as per https://dev.twitter.com/overview/api/upcoming-changes-to-tweets:

In cases where the original Tweet has been deleted, the reply will fail. This is a change to existing behaviour, where it has been possible to reply to a deleted Tweet ID.