Skip to content

Commit

Permalink
Add missing condition on notification
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlich committed Jan 20, 2025
1 parent 0d458cd commit d2c5627
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion click/manifest.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"push-helper": "exphone-push-helper.json"
}
},
"version": "1.1.2",
"version": "1.1.3",
"maintainer": "Jozef Mlich <[email protected]>",
"framework" : "@CLICK_FRAMEWORK@"
}
4 changes: 3 additions & 1 deletion daemon/blockcontroler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ void BlockControler::incomingCall(const QString &_callerId, const QString &calle

if (!blocked) {
blocked = m_blockModel.isBlocked(callerId);
showNotification(callerId, callerName);
if (blocked) {
showNotification(callerId, callerName);
}
}

m_blockModel.logCall(callerId, callerName);
Expand Down

0 comments on commit d2c5627

Please sign in to comment.