Make receive mode events just like share mode, and rename REQUEST_DOWNLOAD to REQUEST_SHARE

This commit is contained in:
Micah Lee 2018-05-07 22:15:29 -07:00
parent 996f6c0725
commit 591e97a57a
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
5 changed files with 52 additions and 19 deletions

View file

@ -372,7 +372,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
if event["type"] == Web.REQUEST_LOAD:
mode.handle_request_load(event)
elif event["type"] == Web.REQUEST_DOWNLOAD:
elif event["type"] == Web.REQUEST_STARTED:
mode.handle_request_download(event)
elif event["type"] == Web.REQUEST_RATE_LIMIT: