-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
Milestone
Description
Hi,
We're looking into using LUI for our Matrix client: alphapapa/matrix-client.el#15 However, Matrix messages need to be deduplicated by message ID and inserted in order by timestamp, e.g. when resyncing with a room or loading earlier messages. LUI already supports timestamps and messages IDs, but the insertion function seems to just insert new messages at the end of the buffer.
Would you be open to enhancing LUI to support insertion by timestamp, and conditionally on whether a message ID already exists in the buffer? Maybe the insertion function could be set with a variable so we could just rewrite that function for our own use, binding to our function around our code that calls LUI functions.
Thanks.
jgkamat