diff options
Diffstat (limited to 'src/net/java/sip/communicator/impl')
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/chat/MetaContactChatTransport.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/chat/MetaContactChatTransport.java b/src/net/java/sip/communicator/impl/gui/main/chat/MetaContactChatTransport.java index d80959b..e3e0b83 100644 --- a/src/net/java/sip/communicator/impl/gui/main/chat/MetaContactChatTransport.java +++ b/src/net/java/sip/communicator/impl/gui/main/chat/MetaContactChatTransport.java @@ -387,7 +387,11 @@ public class MetaContactChatTransport = protocolProvider .getOperationSet(OperationSetTypingNotifications.class); - if(protocolProvider.isRegistered()) + // if protocol is not registered or contact is offline don't + // try to send typing notifications + if(protocolProvider.isRegistered() + && contact.getPresenceStatus().getStatus() + >= PresenceStatus.ONLINE_THRESHOLD) { try { |