Chat with Thomas Pfeiffer. In that case I would not recommend disabling text input It's not like anything you type get's sent immediately, is it? We could allow typing but prevent sending The scenario is this: I'm in a conversation with someone, but I have an unstable internet connection If input remains enabled, I can write my message and send it when I get back online Not prevent hitting enter, but display a warning that the message cannot be sent at the moment because you're not connected And keep the text in the input box
Git commit 0b9898013d18bc4c742c0dbdb89c6aee9c2948b3 by Ahmed I. Khalil. Committed on 02/05/2014 at 14:37. Pushed by ibrahim into branch 'master'. Don't disable input box when disconnected. Instead show a KMessageWidget that will tell the user that the account is offline. REVIEW: 117809 M +39 -9 lib/chat-widget.cpp M +2 -1 lib/chat-widget.h M +16 -0 lib/chat-widget.ui http://commits.kde.org/telepathy-text-ui/0b9898013d18bc4c742c0dbdb89c6aee9c2948b3