From: poy <po...@12...> - 2009-08-01 21:34:27
|
> Could you not modify your bot to actually store the time, too? So it'd > report the time it got the message... (Time would probably enlarge the > entirety of messages compared to the TS param, but still.) sure, my bot has to store a timestamp along with each message, that's not a problem. the question is: when i connect, and my bot sends me the messages it has been logging, how does it tell DC++ when each message was sent? > Actually, I've been using a hub that have that exact functionality. "You > have the following messages: 1) PM from <nick>: <msg>, <date/time of > message>" -- i.e., it displays the date/time the message was sent (well, > obviously received by the hub). Granted, having *exact* time in terms of > message sent by client might be useful, but I think the (potential) lag is > negligible. (Indeed, the hub is NMDC even...) including the timestamp of the message in the message string is indeed the only possibility i have for the moment and it is an ugly hack, which might be acceptable on NMDC, but please allow for something more correct in ADC. that would be like saying "yeah, just send your message with /me in front of it, and the other client will assume it's 3rd-person" when in fact having a separate param to specify this is far more correct. moreover, sending the timestamp separately lets the client format it the way it wants to. poy |