-
Notifications
You must be signed in to change notification settings - Fork 489
James 4150 #2919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
James 4150 #2919
Changes from all commits
0e767e2
d407de6
243424e
c016742
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -69,13 +69,24 @@ public PostgresMessageManager(PostgresMailboxSessionMapperFactory mapperFactory, | |
| StoreRightManager storeRightManager, ThreadIdGuessingAlgorithm threadIdGuessingAlgorithm, | ||
| Clock clock, PreDeletionHooks preDeletionHooks) { | ||
| super(StoreMailboxManager.DEFAULT_NO_MESSAGE_CAPABILITIES, mapperFactory, index, eventBus, locker, mailbox, | ||
| quotaManager, quotaRootResolver, batchSizes, storeRightManager, preDeletionHooks, | ||
| new MessageStorer.WithAttachment(mapperFactory, messageIdFactory, new MessageFactory.StoreMessageFactory(), mapperFactory, messageParser, threadIdGuessingAlgorithm, clock)); | ||
| quotaManager, quotaRootResolver, batchSizes, storeRightManager, preDeletionHooks, | ||
| createMessageStorer(mapperFactory, messageIdFactory, messageParser, threadIdGuessingAlgorithm, clock)); | ||
| this.storeRightManager = storeRightManager; | ||
| this.mapperFactory = mapperFactory; | ||
| this.mailbox = mailbox; | ||
| } | ||
|
|
||
| private static MessageStorer createMessageStorer(PostgresMailboxSessionMapperFactory mapperFactory, | ||
| MessageId.Factory messageIdFactory, | ||
| MessageParser messageParser, | ||
| ThreadIdGuessingAlgorithm threadIdGuessingAlgorithm, | ||
| Clock clock) { | ||
| if (mapperFactory.isAttachmentStorageEnabled()) { | ||
| return new MessageStorer.WithAttachment(mapperFactory, messageIdFactory, new MessageFactory.StoreMessageFactory(), mapperFactory, messageParser, threadIdGuessingAlgorithm, clock); | ||
| } else { | ||
| return new MessageStorer.WithoutAttachment(mapperFactory, messageIdFactory, new MessageFactory.StoreMessageFactory(), threadIdGuessingAlgorithm, clock); | ||
| } | ||
| } | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We are missing the critical changes of
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes Rebase problem . |
||
| @Override | ||
| public Flags getPermanentFlags(MailboxSession session) { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.