diff options
Diffstat (limited to 'desktop/src/onionshare/tab/mode/chat_mode/__init__.py')
-rw-r--r-- | desktop/src/onionshare/tab/mode/chat_mode/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/src/onionshare/tab/mode/chat_mode/__init__.py b/desktop/src/onionshare/tab/mode/chat_mode/__init__.py index 25a02969..a7c2929b 100644 --- a/desktop/src/onionshare/tab/mode/chat_mode/__init__.py +++ b/desktop/src/onionshare/tab/mode/chat_mode/__init__.py @@ -101,6 +101,12 @@ class ChatMode(Mode): self.wrapper_layout.addLayout(self.column_layout) self.setLayout(self.wrapper_layout) + def get_type(self): + """ + Returns the type of mode as a string (e.g. "share", "receive", etc.) + """ + return "chat" + def get_stop_server_autostop_timer_text(self): """ Return the string to put on the stop server button, if there's an auto-stop timer |