-
raucao
would it be frowned upon to allow correcting messages other than the last, but only for like 3 minutes?
-
raucao
do most clients impose time restrictions?
-
lovetox
raucao, you can try
-
lovetox
but most client will simply not correct the message
-
raucao
i'm asking for implementation
-
raucao
i'm finishing up message correction for our own client
-
lovetox
you need to ask in jdev maybe there are many client developers
-
raucao
the spec doesn't forbid it, but it says it's out of scope
-
lovetox
as for Gajim, only the last message is correctable
-
raucao
sure, but would be good to have a guidline for modern xmpp clients, no?
-
lovetox
yes maybe
-
Zash
it would, but nobody has written down and gathered consensus on how that's supposed to work
-
raucao
it would work the same basically, because you can already not expect your corrected message to be replaced on every other client
-
raucao
so when in doubt there would just be a new message
-
raucao
and the XML is 100% the same
-
raucao
just with an older ID
-
raucao
just asking if that's something some clients might already be doing, same as for time limits
-
raucao
if not, then i also won't do it
-
raucao
just annoying sometimes for me to not be able to correct like the second-to-last line :)
-
lovetox
raucao, then simply do it
-
lovetox
if you write a client i think this is a useful feature, the xep allows you to do that
-
lovetox
other client maybe not supporting that, but as you said they simply show the message as new, so no harm done
-
raucao
bit of a chicken-and-egg problem. if nobody else does it, then new corrected messages that do not directly follow the previous message are a bit jarring for all users of every other client i guess. forcing last message for now, and will think about it a bit more perhaps
-
raucao
thanks
-
lovetox
raucao, most things start that way though
-
lovetox
one client implements something, users like it, users use more than one client, bug developers to also support it
-
lovetox
i think its fine if it has sensible limits
-
lovetox
like time based
-
lovetox
correctable the first 60 seconds etc
-
jonas’
60s is quite low considering mobile keyboards
-
lovetox
one thing why i would not implement that is, because if i let older messages be corrected
-
lovetox
i need also a way to highlight older messages for the user, because i notify him, then i need to show whats actually changed
-
lovetox
i dont need to do that normally
-
jonas’
maybe don't notify users for corrections
-
jonas’
or at least not for old ones, I guess
-
lovetox
and thats the only XEP where i need to add something like that
-
lovetox
but thats shitty, someone writes something, corrects it 30 seconds later
-
lovetox
user gets not notified?!
-
lovetox
sounds bad
-
jonas’
I know of no chat system which supports corrections and notifies for corrections
-
jonas’
(not even if mentions get added to the correction, I think)
-
lovetox
i believe that in a heartbeat
-
lovetox
as i said, this is the only case where you would need to add logic to notify users of new messages somewhere in between their chat
-
lovetox
i doubt many devs want to implement that
-
lovetox
its trivial for the last message though
-
lovetox
you just notify the user a new message is there
-
lovetox
as you do for all other messages also
-
lovetox
and also most corrections happen fast
-
lovetox
so you either look anyway at that chat, so notification needed
-
lovetox
or you dont have looked yet then also no extra notification is needed