Change refresh rate of messenger window

Last post 12-15-2011, 6:43 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  12-13-2011, 6:02 PM 71996

    Change refresh rate of messenger window

    Is there a way to change the refresh rate of the messenger window? Currently, calls are made to chatajax.ashx about every second.
     
    Please let me know how to reduce the refresh rate.
     
    Thanks. 
       
  •  12-14-2011, 6:21 AM 72001 in reply to 71996

    Re: Change refresh rate of messenger window

    Hi Hachim,
     
    Please open file “CuteSoft_Client\CuteChat\LoadSettings.aspx”
    Find section below, you can change the time interval directly. Default is 1 second
    var Chat_Sync_Timeout=1000;//sync 1 times per second.
     
    Regards,
     
    Ken 
     
  •  12-14-2011, 7:54 AM 72004 in reply to 72001

    Re: Change refresh rate of messenger window

    Great. changing the refresh rate significantly reduced the load on the server.  However, there is a now a lag with the message 'user is now typing a message' that gets displayed in red at the bottom.  Because of the slower refresh rate, the message is now out of sync with the actual typing.
     
    How do I remove/hide the 'user now typing' message?
     
    Thanks a lot. 
     
    Hachim 
  •  12-15-2011, 6:43 AM 72016 in reply to 72004

    Re: Change refresh rate of messenger window

    Hi Hachim,
     
    1. Open file "\CuteSoft_Client\CuteChat\Script\NewMessenger.js "
     
    2. Find section below and delete it
     
    if(this._isusertyping)
    typing.innerHTML=this._contact.DisplayName+" "+TEXT("UI_USER_TYPING");
    else
    typing.innerHTML="";
     
    Regards,
     
    Ken 
View as RSS news feed in XML