[jitsi-dev] Outlook presence


#1

Hey

I wanted to remove an exception that is caused by the Outlook presence
plugin while the accounts are not connected/still in the connecting phase.
However I'm not sure if my attempt is correct, and I cannot debug the
presence stuff (I always get java.lang.UnsatisfiedLinkError: unsupported JNI
version 0xFFFFFFFF required by .\lib\native\windows\jmsofficecomm.dll when
not running the installed version, not matter what I try).

Vincent, could you apply the patch below if it makes sense to you?

Thanks,
Ingo

### Eclipse Workspace Patch 1.0
#P jitsi
diff --git src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java
src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java
index ba091d5..d8360d6 100644
--- src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java
+++ src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java
@@ -1457,6 +1457,11 @@
                 self = false;
                 for (ProtocolProviderService pps : ppss.keySet())
                 {
+ if (!pps.isRegistered())
+ {
+ continue;
+ }

···

+
                     OperationSetServerStoredAccountInfo
                         serverStoredAccountInfoOpSet
                             = pps.getOperationSet(


#2

Hello Ingo,

Thank you for submitting this patch and sorry for the delay. It looks good for me and I committed it with revision 3782d97.

Anyway, if you need to perform some debug whit Outlook presence, you can edit your registry to set "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Call Integration\IMApplication" to "java.exe" (this would remove the java.lang.UnsatisfiedLinkError).

Regards,
Vincent

···

On 7/24/13 7:53 PM, Ingo Bauersachs wrote:

Hey

I wanted to remove an exception that is caused by the Outlook presence
plugin while the accounts are not connected/still in the connecting phase.
However I'm not sure if my attempt is correct, and I cannot debug the
presence stuff (I always get java.lang.UnsatisfiedLinkError: unsupported JNI
version 0xFFFFFFFF required by .\lib\native\windows\jmsofficecomm.dll when
not running the installed version, not matter what I try).

Vincent, could you apply the patch below if it makes sense to you?

Thanks,
Ingo

### Eclipse Workspace Patch 1.0
#P jitsi
diff --git src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java
src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java
index ba091d5..d8360d6 100644
--- src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java
+++ src/net/java/sip/communicator/plugin/msofficecomm/Messenger.java
@@ -1457,6 +1457,11 @@
                  self = false;
                  for (ProtocolProviderService pps : ppss.keySet())
                  {
+ if (!pps.isRegistered())
+ {
+ continue;
+ }
+
                      OperationSetServerStoredAccountInfo
                          serverStoredAccountInfoOpSet
                              = pps.getOperationSet(

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
Vincent Lucas, Ph.D. Jitsi developer
chenzo@jitsi.org http://jitsi.org