Don't use icons as room avatars

remotes/origin/HEAD
Konstantinos Sideris 8 years ago
parent 9092ae3db8
commit 718562737c
  1. 3
      src/ChatPage.cc
  2. 2
      src/TextInputWidget.cc

@ -192,8 +192,7 @@ void ChatPage::updateTopBarAvatar(const QString &roomid, const QPixmap &img)
if (current_room_.id() != roomid)
return;
QIcon icon(img);
this->top_bar_->updateRoomAvatar(icon);
top_bar_->updateRoomAvatar(img.toImage());
}
void ChatPage::updateOwnProfileInfo(const QUrl &avatar_url, const QString &display_name)

@ -66,7 +66,7 @@ TextInputWidget::TextInputWidget(QWidget *parent)
void TextInputWidget::onSendButtonClicked()
{
auto msg_text = input_->text();
auto msg_text = input_->text().trimmed();
if (msg_text.isEmpty())
return;

Loading…
Cancel
Save