mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-18 22:16:50 +01:00
Always check for recent if a mailbox list is available
This commit is contained in:
@@ -355,7 +355,7 @@ function rcube_webmail()
|
||||
// start interval for keep-alive/recent_check signal
|
||||
this.start_keepalive = function()
|
||||
{
|
||||
if (this.env.keep_alive && !this.env.framed && this.task=='mail' && this.gui_objects.messagelist)
|
||||
if (this.env.keep_alive && !this.env.framed && this.task=='mail' && this.gui_objects.mailboxlist)
|
||||
this._int = setInterval(function(){ ref.check_for_recent(); }, this.env.keep_alive * 1000);
|
||||
else if (this.env.keep_alive && !this.env.framed && this.task!='login')
|
||||
this._int = setInterval(function(){ ref.send_keep_alive(); }, this.env.keep_alive * 1000);
|
||||
|
||||
Reference in New Issue
Block a user