Skip to content

Commit 7f7924d

Browse files
committed
Add missing condition on notification
Fixes #7
1 parent 0d458cd commit 7f7924d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

click/manifest.json.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"push-helper": "exphone-push-helper.json"
1414
}
1515
},
16-
"version": "1.1.2",
16+
"version": "1.1.3",
1717
"maintainer": "Jozef Mlich <[email protected]>",
1818
"framework" : "@CLICK_FRAMEWORK@"
1919
}

daemon/blockcontroler.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ void BlockControler::incomingCall(const QString &_callerId, const QString &calle
5252

5353
if (!blocked) {
5454
blocked = m_blockModel.isBlocked(callerId);
55-
showNotification(callerId, callerName);
55+
if (blocked) {
56+
showNotification(callerId, callerName);
57+
}
5658
}
5759

5860
m_blockModel.logCall(callerId, callerName);

0 commit comments

Comments
 (0)