snakefire icon indicating copy to clipboard operation
snakefire copied to clipboard

Messages with links appear out of order

Open iangreenleaf opened this issue 11 years ago • 2 comments

When I join a room, messages that begin with a URL appear last in the sent messages, out of order. I think I know why. Inline links trigger this predicate:

def needsThread(self):
    return self._message.is_upload() or (self._message.body and self._isInlineLink(self._message.body))

It looks like these messages get rendered in a thread, which is probably why they don't end up in he right order.

Possibly #59 has the same cause.

iangreenleaf avatar Apr 09 '13 00:04 iangreenleaf

I've observed this behaviour as well. I was wondering why that would happen, and working in a thread would explain it.

basilgohar avatar Apr 22 '13 14:04 basilgohar

:+1:

goblin avatar Jun 05 '13 10:06 goblin