aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/ldap
diff options
context:
space:
mode:
authorYana Stamcheva <yana@jitsi.org>2012-09-17 11:10:29 +0000
committerYana Stamcheva <yana@jitsi.org>2012-09-17 11:10:29 +0000
commitee908cba050cbde15384d3b0cb13357fcb0c5b41 (patch)
tree2d894ff083076e4a4306fe58aaeabfa8f2ad8810 /src/net/java/sip/communicator/impl/ldap
parent4f194782e3b22e1e9f3e7b710b5d5b2b36cc6ff7 (diff)
downloadjitsi-ee908cba050cbde15384d3b0cb13357fcb0c5b41.zip
jitsi-ee908cba050cbde15384d3b0cb13357fcb0c5b41.tar.gz
jitsi-ee908cba050cbde15384d3b0cb13357fcb0c5b41.tar.bz2
Adds phonenumbers and search to transfer and conference invite dialogs. Improves the chat invite dialog by adding a search field on the top of the source contact list.
Diffstat (limited to 'src/net/java/sip/communicator/impl/ldap')
-rw-r--r--src/net/java/sip/communicator/impl/ldap/LdapContactSourceService.java14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/impl/ldap/LdapContactSourceService.java b/src/net/java/sip/communicator/impl/ldap/LdapContactSourceService.java
index 1ca8bca..dd90821 100644
--- a/src/net/java/sip/communicator/impl/ldap/LdapContactSourceService.java
+++ b/src/net/java/sip/communicator/impl/ldap/LdapContactSourceService.java
@@ -114,9 +114,9 @@ public class LdapContactSourceService
* should be returned by all call history implementations of this interface)
* @return the identifier of this contact source
*/
- public String getIdentifier()
+ public int getType()
{
- return "LDAP";
+ return SEARCH_TYPE;
}
/**
@@ -205,4 +205,14 @@ public class LdapContactSourceService
queries.notify();
}
}
+
+ /**
+ * Returns the index of the contact source in the result list.
+ *
+ * @return the index of the contact source in the result list
+ */
+ public int getIndex()
+ {
+ return -1;
+ }
}