mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 00:59:39 +02:00
Merge branch '4.4'
This commit is contained in:
commit
b5b4418406
3 changed files with 20 additions and 13 deletions
|
@ -388,7 +388,10 @@ public final class EntityCapsManager extends Manager {
|
|||
if (autoEnableEntityCaps)
|
||||
enableEntityCaps();
|
||||
|
||||
connection.addAsyncStanzaListener(new StanzaListener() {
|
||||
// Note that this is a *synchronous* stanza listener to avoid unnecessary feature lookups. If this were to be an
|
||||
// asynchronous listener, then it would be possible that the entity caps information was not processed when the
|
||||
// features of entity are looked up. See SMACK-937.
|
||||
connection.addStanzaListener(new StanzaListener() {
|
||||
// Listen for remote presence stanzas with the caps extension
|
||||
// If we receive such a stanza, record the JID and nodeVer
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue