This is a fixup to https://github.com/jitsi/jitsi/pull/161 This introduced a bug in which a contact which just went offline to not have *messaging capabilities*. This is needed for opening the chat window to send offline messages. One clause was missing, causing the new behavior to check offline contacts for their capabilities. More specifically it checked their online resources and this will always be a null set on an offline contact. With this it now uses the old behavior for offline contacts, which returns a preset set of capabilities (e.g. messaging).
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Fixes offline messaging to contact which just went offline
-- File Changes --
M src/net/java/sip/communicator/impl/protocol/jabber/OperationSetContactCapabilitiesJabberImpl.java (5)
-- Patch Links --
Reply to this email directly or view it on GitHub: