chatlist: a row's preview keeps a disappearing message after its message <Expired> #23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
chatlist: a row's preview keeps an expired disappearing message
With
preserve_history0, a disappearing message's end ismessage <Expired>(ephemeral.tcl:565,messagestore.tcl:1266expireRow).chatlist.tclfollows<Retracted>and<Edited>but not<Expired>(:152-160), andEmitIfTail(:944) would skip anyway since the row is gone. So when the expired message was the chat's last, the chat list keeps showing its text (and attachment kind) until some other change emits the entry again.Asked: subscribe chatlist to
message <Expired>(and<Removed>, which has the same gap if it is the tail) and emit the entry again with the new last message (or none).Fixed in libtacky v1.2.1 (https://dev.another.im/another-im/libtacky/releases/tag/v1.2.1): the chat list row now re-emits on a message's
<Expired>and on a tail's<Removed>, so a disappearing message's preview is replaced instead of lingering after it expires or is removed.Please check with v1.2.1 or newer.