lyricat / Hotot

A Twitter Client
http://hotot.org
GNU Lesser General Public License v3.0
485 stars 130 forks source link

org.hotot.service.update_status: tweets disappear when post unsuccessful #487

Open teranex opened 11 years ago

teranex commented 11 years ago

I created a plugin for Kupfer (http://engla.github.com/kupfer/ ) (plugin available here: https://github.com/teranex/kupfer-plugins/blob/master/hotot.py ) which let's one create Tweets directly from Kupfer by using the running Hotot instance. To do so I use the org.hotot.service.update_status method. This works fine, except when the tweet can't be posted (for example because it is too long), then the tweet seems to be 'lost'. Would it be possible to return a status-code through D-Bus, or, alternatively, add the tweet as a draft when posting fails?