nolanlum / tanya

single-user slack irc gateway in a world with no generics
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

Quote original message on thread reply if some time has passed. #54

Open nolanlum opened 5 years ago

nolanlum commented 5 years ago

Thread replies to messages that happened some time in the past can be confusing, especially if the reply is a single word like "lmbo" or "thanks".

There's a lot of equally contentions ways to disambiguate the original message, but I propose the following:

IFF the original message was sent 10 or more minutes ago,
AND the newest reply to the thread (if any) occurred
more than 10 minutes ago, quote the first line of the
original message a la archive links.

As an example:

Slack thread:
[00:02] <szi> haha
benis xDDD
[00:22] <nolm> thanks for that
[00:24] <nichi> !imouto

IRC:
[00:02] <szi> haha
[00:02] <szi> benis xDDD
[00:22] <nolm> ><szi> haha
[00:22] <nolm> thanks for that
[00:24] <nichi> !imouto
nattofriends commented 5 years ago

My current criteria is if no thread exists yet or if the last reply was made more than 60 minutes ago

On Fri, Jan 11, 2019 at 10:33 AM Nolan Lum notifications@github.com wrote:

Thread replies to messages that happened some time in the past can be confusing, especially if the reply is a single word like "lmbo" or "thanks".

There's a lot of equally contentions ways to disambiguate the original message, but I propose the following:

IFF the original message was sent 10 or more minutes ago, AND the newest reply to the thread (if any) occurred more than 10 minutes ago, quote the first line of the original message a la archive links.

As an example:

Slack thread: [00:02] haha benis xDDD [00:22] thanks for that [00:24] !imouto

IRC: [00:02] haha [00:02] benis xDDD [00:22] > haha [00:22] thanks for that [00:24] !imouto

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nolanlum/tanya/issues/54, or mute the thread https://github.com/notifications/unsubscribe-auth/AAs6FAcQH6XmL2Si-YTgWtBLXfoR8CiSks5vB_ftgaJpZM4Z6r5E .