-
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
add SendReplyJob and use it for sending replies to the general queue #401
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When testing this, I noticed that the ReplyWidget
for a new reply now disappears after sending it.
STR: 1. send reply, 2. click on a different source and back to the original source.
I can see that replies are being successfully sent, but it's almost like the GUI no longer receives the reply_succeeded
signal. I see it in the code being sent but something's up.
75dd687
to
b09774f
Compare
dang, good catch: it was a familiar culprit - b09774f#diff-16a175b4662541f3889b432ac9e7e0e8R1393 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that you refresh the source db object you should no longer need to refresh each conversation_item. I think you can remove this line:
self.controller.session.refresh(conversation_item)
two changes: 1. We should mark replies that we send as downloaded/decrypted so that we don't keep redownloading them. 2. We should refresh the source so that we get all items from the collection when we redraw it.
b09774f
to
8b9ec4c
Compare
ah, good point @creviera - addressed and squashed into last commit |
Description
Fixes #390
Test Plan