Diff between 8c427af91d9cc5ca081ebe901187d3ae783281f2 and 9c3dda9c8dd80f3a0a341f5a367d3989e840d294

Changed Files

File Additions Deletions Status
obexd/plugins/phonebook-tracker.c +4 -0 modified

Full Patch

diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c
index ee072d3..41d7fde 100644
--- a/obexd/plugins/phonebook-tracker.c
+++ b/obexd/plugins/phonebook-tracker.c
@@ -72,6 +72,10 @@
 	"WHERE { "							\
 		"?c a nco:PersonContact . "				\
 	"OPTIONAL { ?c nco:hasPhoneNumber ?h . } "			\
+	"OPTIONAL { "							\
+		"?c nco:hasAffiliation ?a . "				\
+		"?a nco:hasPhoneNumber ?h . "				\
+	"} "								\
 	"}"
 
 #define MISSED_CALLS_QUERY						\