mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 23:10:26 +00:00
removed session timeout for getting emails
This commit is contained in:
@@ -30,12 +30,7 @@ class SupportMailbox(POP3Mailbox):
|
||||
"username": self.email_settings.support_username,
|
||||
"password": self.email_settings.support_password
|
||||
})
|
||||
|
||||
def check_mails(self):
|
||||
self.auto_close_tickets()
|
||||
return webnotes.conn.sql("select user from tabSessions where \
|
||||
time_to_sec(timediff(now(), lastupdate)) < 1800")
|
||||
|
||||
|
||||
def process_message(self, mail):
|
||||
if mail.from_email == self.email_settings.fields.get('support_email'):
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user