summary refs log tree commit diff
path: root/src/ChatPage.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-09-03 11:43:45 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-09-03 11:43:45 +0300
commitb5ae84c3c3ee6ff42bb4ae4fd3a54e858160a1b1 (patch)
treed463295478ac0473383f22343bac251def46d6fe /src/ChatPage.cc
parentAdd read support for m.emote events (#41) (diff)
downloadnheko-b5ae84c3c3ee6ff42bb4ae4fd3a54e858160a1b1.tar.xz
Add write support for m.emote events
closes #41
Diffstat (limited to 'src/ChatPage.cc')
-rw-r--r--src/ChatPage.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChatPage.cc b/src/ChatPage.cc

index 9bbf58b7..d393a65d 100644 --- a/src/ChatPage.cc +++ b/src/ChatPage.cc
@@ -148,6 +148,11 @@ ChatPage::ChatPage(QSharedPointer<MatrixClient> client, QWidget *parent) view_manager_, SLOT(sendTextMessage(const QString &))); + connect(text_input_, + SIGNAL(sendEmoteMessage(const QString &)), + view_manager_, + SLOT(sendEmoteMessage(const QString &))); + connect(client_.data(), SIGNAL(roomAvatarRetrieved(const QString &, const QPixmap &)), this,