From: Jan T. <jan...@gm...> - 2007-11-18 22:37:16
|
Hello. Im hungry about making ADC good chatting proto, because LAN users wont install jabber or IRC server just for conversations, but will install DC Hub because of sharing capabilities. So what about adding "typeing notification"? Like Jabber/ICQ/etc. "Typeing" and "Stoped typeing" are rather userful in day to day conversations. And userfull (for example) for special nicklist sorting when you see who is alive right now. Now about implementation. I thought about the way how to send it... and my idea is: 1. adding new type of message, for example "TPN" (like an extention, or in BASE...) for sending this notifications. All of them should pass through the hub, because of DDOS capability. INF messages are not very good because of their context, and MSG will make parceing more complicated, when typeing notification are banned, so new type imho is better. 2. adding a switcher into cleint. (OFF/ON) so. i see it like this: 4.3.16. TPN TPN code Contexts: F, T Typeing notification. Codes: 00 - Stoped typeing 01 - Typeing... 10 - Closed tab, minimised window, etc... 11 - Now in this tab, reading message 12 - Changed tab or window bacame unfocused, but not closed/minimised all codes are sent when event occurs. if user sends TPN to hub there it is not allowed - it got STA 25 Now some notes. TPN should be send to Reply-To user (for chatroom orgainzation and etc) (PM flag in MSG if any). In that case chatrooms bot can normally broadcast this messages to "joined" users. Thats all. I suppose. B R, Jan |