Browse Source

Merge pull request #133 from MyHush/hushchat

fix a problem with incoming requests
pull/166/head v1.3.4
Denio 4 years ago
committed by GitHub
parent
commit
3ae6169952
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/chatmodel.cpp
  2. 2
      src/version.h

4
src/chatmodel.cpp

@ -158,10 +158,12 @@ void MainWindow::renderContactRequest(){
QString label_contact = index.data(Qt::DisplayRole).toString();
QStandardItemModel* contactMemo = new QStandardItemModel();
qDebug()<<label_contact;
if ((c.second.isOutgoing() == false) && (label_contact == c.second.getContact()))
if ((c.second.isOutgoing() == false) && (label_contact == c.second.getRequestZaddr()))
{

2
src/version.h

@ -1 +1 @@
#define APP_VERSION "1.3.2-Chat-Beta"
#define APP_VERSION "1.3.3"

Loading…
Cancel
Save