Issue #4 resolved

1 twit -> RT -> 2 twits

Matías Bellone
created an issue

On RT long twits, tnt issues 2 tweets. This breaks the message without warning and definitely not the desired behavior.

{{{ 5319577796 : Facundo Batista (facundobatista): El mundo cambió. Ahora linux es noticia en un noticiero central (obviamente no técnico) de un canal de aire. Imperdible: http://is.gd/4JmPC

: :rt 5319577796

:

5320215389 : Matías (Matías Bellone): RT facundobatista: El mundo cambió. Ahora linux es noticia en un noticiero central (obviamente no técnico) de un canal de aire. 5320215771 : Matías (Matías Bellone): Imperdible: http://is.gd/4JmPC }}}

My solution may be to re-define the tnt.tweet method the following way:

  • Raise an exception if the message is too long
  • Accept an extra named parameter to avoid raising that exception (so that if this behaviour is wanted it can still be used).

Comments (4)

  1. Log in to comment