Closed boxdot closed 2 years ago
Now that's a nice slick UI! Also the optimization was probably well deserved
I just noticed the internal names for the different message delivery status have been mismatched, it's supposed to be Sent
, Delivered
, Read
and not Sent
, Received
, Delivered
. Seems I made the mistake a while back, can you fix it?
Just thought that we assume in the receipt handling code that messages are stored in order of increasing timestamp even though this might not be the case on some occasions (because the timestamp is set by the sender, there is some jitter). This means we might not handle receipts correctly in these edge cases.
Very good observation. Either we need to sort then and maintain the order, or maintain a lookup table.
Show ○ (sent), ◉ (received), ● (delivered) unicode icons next to own messages. This can be disabled by adding
show_receipts = false
to the config file.Also optimize the receipts handling code.