diff cagou/core/platform_/base.py @ 413:c466678c57b2

chat: control send button visibility in core.platform_, and show it when there are attachments
author Goffi <goffi@goffi.org>
date Sun, 23 Feb 2020 15:39:06 +0100
parents 355326a3501c
children ddca5a837029
line wrap: on
line diff
--- a/cagou/core/platform_/base.py	Sun Feb 23 15:39:03 2020 +0100
+++ b/cagou/core/platform_/base.py	Sun Feb 23 15:39:06 2020 +0100
@@ -34,6 +34,8 @@
 
 class Platform:
     """Base class to handle platform specific behaviours"""
+    # set to True to always show the send button in chat
+    send_button_visible = False
 
     def init_platform(self):
         # we don't want multi-touch emulation with mouse