I have found a hard to debug problem. If pango formatting (that is, the <b> or <i> things) is messed up somewhere, a strange error appears, causing the previous message to display instead of the new one.
If the code looks like this:
- Code: Select all
message= _ "I was standing in my room, completely alone, when suddenly..."
message= _ "I heard a fart that <b>wasn't mine</i>."
You will first see a message 'I was standing in my room, completely alone, when suddenly...' and then 'I was standing in my room, completely a'. This is because the message's length was read correctly, but the text failed to load, and so it read what was in the variable holding the text before, and that was the previous message.