summaryrefslogtreecommitdiff
path: root/src/components/chatinput.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-07-15 16:03:33 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2023-07-15 16:03:33 -0400
commit03e617a146666ad95f8cf9ff144f1cec4ae4c6cd (patch)
tree8ba7c176d7cd16db38bfd20df4587712fd58f1a5 /src/components/chatinput.hpp
parentf941ad1befc0049bb2c4be08cf76df0c09dc1016 (diff)
downloadabaddon-portaudio-03e617a146666ad95f8cf9ff144f1cec4ae4c6cd.tar.gz
abaddon-portaudio-03e617a146666ad95f8cf9ff144f1cec4ae4c6cd.zip
only start editing if input is empty
Diffstat (limited to 'src/components/chatinput.hpp')
-rw-r--r--src/components/chatinput.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/chatinput.hpp b/src/components/chatinput.hpp
index c98d935..393a9aa 100644
--- a/src/components/chatinput.hpp
+++ b/src/components/chatinput.hpp
@@ -143,6 +143,8 @@ public:
void StartEditing(const Message &message);
void StopEditing();
+ bool IsEmpty();
+
private:
bool AddFileAsImageAttachment(const Glib::RefPtr<Gio::File> &file);
bool CanAttachFiles();