mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 04:59:22 -06:00
fb184fed06
This should make it easier to track down how the incoming email was created, which is one of four locations: The POP3 poller (which picks up reply via email replies) The admin email controller #handle_mail (which is where hosted mail is sent) The IMAP sync tool The group SMTP mailer, which sends emails when replying to IMAP topics, pre-emptively creating IncomingEmail records to avoid double syncing
8 lines
188 B
Ruby
8 lines
188 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddCreatedViaToIncomingEmail < ActiveRecord::Migration[6.0]
|
|
def change
|
|
add_column :incoming_emails, :created_via, :integer, null: true
|
|
end
|
|
end
|