Use the actual NetIQ config for its profile provider

This commit is contained in:
Max Dor
2018-10-13 17:44:26 +02:00
parent cdb56aec1f
commit 544cab816c
4 changed files with 20 additions and 11 deletions

View File

@@ -79,7 +79,12 @@ public class AppServiceHandler {
log.info("Got invite for {}", id);
boolean wasSent = false;
for (_ThreePid tpid : profiler.getThreepids(mxid)) {
List<_ThreePid> tpids = profiler.getThreepids(mxid);
if (tpids.isEmpty()) {
log.info("No email found in identity stores for {}", id);
}
for (_ThreePid tpid : tpids) {
if (!StringUtils.equals("email", tpid.getMedium())) {
continue;
}