mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 06:26:10 -04:00
Move the 'supports_file_requests' attribute into the actual modes rather than the Web class
This commit is contained in:
parent
9aedb0cc00
commit
aa7a6e321b
4 changed files with 20 additions and 7 deletions
|
@ -52,6 +52,10 @@ class SendBaseModeWeb:
|
|||
# This tracks the history id
|
||||
self.cur_history_id = 0
|
||||
|
||||
# Whether or not we can send REQUEST_INDIVIDUAL_FILE_STARTED
|
||||
# and maybe other events when requests come in to this mode
|
||||
self.supports_file_requests = True
|
||||
|
||||
self.define_routes()
|
||||
self.init()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue