diff options
author | Yana Stamcheva <yana@jitsi.org> | 2010-02-16 12:28:22 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2010-02-16 12:28:22 +0000 |
commit | c0ff971bb0d8ae69877da7b2bfc0b2ce5c33be27 (patch) | |
tree | 2718fe715cfa1758efe0d7b3854966d781df4327 /src/net/java/sip/communicator/impl/gui/main/contactlist/UnknownContactPanel.java | |
parent | de35e204451c435420aaf2f2cd64656f293b8ffc (diff) | |
download | jitsi-c0ff971bb0d8ae69877da7b2bfc0b2ce5c33be27.zip jitsi-c0ff971bb0d8ae69877da7b2bfc0b2ce5c33be27.tar.gz jitsi-c0ff971bb0d8ae69877da7b2bfc0b2ce5c33be27.tar.bz2 |
Fixes a bug reported bu Matthieu Casanova (on dev@sip-communicator.dev.java.net 02/15/2010 subject: "Bug in UnknownContactPanel").
Diffstat (limited to 'src/net/java/sip/communicator/impl/gui/main/contactlist/UnknownContactPanel.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/contactlist/UnknownContactPanel.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/contactlist/UnknownContactPanel.java b/src/net/java/sip/communicator/impl/gui/main/contactlist/UnknownContactPanel.java index 180aedb..401231c 100644 --- a/src/net/java/sip/communicator/impl/gui/main/contactlist/UnknownContactPanel.java +++ b/src/net/java/sip/communicator/impl/gui/main/contactlist/UnknownContactPanel.java @@ -89,11 +89,10 @@ public class UnknownContactPanel Vector<ProtocolProviderService> telephonyProviders = CallManager.getTelephonyProviders(); - ProtocolProviderService callProvider = null; - if (telephonyProviders.size() == 1) { - CallManager.createCall(callProvider, searchText); + CallManager.createCall( + telephonyProviders.get(0), searchText); } else if (telephonyProviders.size() > 1) { |