Migrate to mtxclient for the http calls

This commit is contained in:
Konstantinos Sideris 2018-06-09 16:03:14 +03:00
parent 1366b01790
commit b89257a34b
44 changed files with 1624 additions and 2430 deletions

View file

@ -129,6 +129,16 @@ public:
QColor borderColor() const { return borderColor_; }
void setBorderColor(QColor &color) { borderColor_ = color; }
void disableInput()
{
input_->setEnabled(false);
input_->setPlaceholderText(tr("Connection lost. Nheko is trying to re-connect..."));
}
void enableInput()
{
input_->setEnabled(true);
input_->setPlaceholderText(tr("Write a message..."));
}
public slots:
void openFileSelection();