|
|
|
@ -179,7 +179,6 @@ TimelineItem::init() |
|
|
|
|
contextMenu_->addAction(markAsRead_); |
|
|
|
|
contextMenu_->addAction(redactMsg_); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
connect(showReadReceipts_, &QAction::triggered, this, [this]() { |
|
|
|
|
if (!event_id_.isEmpty()) |
|
|
|
|
MainWindow::instance()->openReadReceiptsDialog(event_id_); |
|
|
|
@ -870,13 +869,13 @@ TimelineItem::addReplyAction() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void |
|
|
|
|
TimelineItem::replyAction() { |
|
|
|
|
TimelineItem::replyAction() |
|
|
|
|
{ |
|
|
|
|
if (!body_) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
emit ChatPage::instance()->messageReply( |
|
|
|
|
Cache::displayName(room_id_, descriptionMsg_.userid), |
|
|
|
|
body_->toPlainText()); |
|
|
|
|
Cache::displayName(room_id_, descriptionMsg_.userid), body_->toPlainText()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void |
|
|
|
|