-
Notifications
You must be signed in to change notification settings - Fork 42
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
Replace MessageSync with DownloadMessageJob #389
Comments
ThoughtsMy assumption is that we want to update the conversations in the GUI after BOTH ObservationsPlease correct me if any of my observations or incorrect in some way. A.
B.
C. A D. We currently route Proposal
Note: The reason it is important to have a single
For this issueJust do the following:
@redshiftzero what do you think? |
We might want to rename |
Now that I'm thinking about this more, |
(summarizing synchronous chat @creviera and I had about this ticket) One of the upsides of the current
|
We should replace
MessageSync
with submitting message download jobs (DownloadMessageJob
) to the general/"main" queue. This is so that we're not maintaining duplicate logic for managing the sending and retrieving data from the server.DownloadMessageJob
could be a subclass of the existing jobDownloadSubmissionJob
. Note that we're using the type ofApiJobQueue.enqueue
to determine whether to submit to the main queue or the file download queue: we want submissions of type files to go to the download file queue, and submissions of type messages to go to the regular queue.The text was updated successfully, but these errors were encountered: