Skip to content

Commit

Permalink
Merge pull request #133 from MyHush/hushchat
Browse files Browse the repository at this point in the history
fix a problem with incoming requests
  • Loading branch information
DenioD authored Jun 12, 2020
2 parents 784bffc + 1d4993e commit 3ae6169
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/chatmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()))

{

Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define APP_VERSION "1.3.2-Chat-Beta"
#define APP_VERSION "1.3.3"

0 comments on commit 3ae6169

Please sign in to comment.