diff options
author | Tobias Markmann <tm@ayena.de> | 2014-10-27 15:31:32 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2014-10-30 13:59:15 (GMT) |
commit | 6e87ef3a842094483105df4e6333c90964a69a47 (patch) | |
tree | 3fa5cab2d45844f0cf1cdf350a02586350a9f7f4 /SwifTools/Idle/IdleDetector.cpp | |
parent | 286ef105d813a12640d64b71101cafe53f212234 (diff) | |
download | swift-6e87ef3a842094483105df4e6333c90964a69a47.zip swift-6e87ef3a842094483105df4e6333c90964a69a47.tar.bz2 |
Only call MUC::onJoinComplete signal once per MUC join.
Old versions of Prosody do not support instant rooms, i.e. do not respond to the
data form submit. It also pretends all rooms exist all the time and thus will
never send status 201.
This change will mark the room join as complete if we didn't receive status 201
but the join was otherwise successful.
Test-Information:
Tested this change against M-Link, Prosody nightly (which behaves according to
XEP-0045), Prosody 0.9 (which eats the data form submit for instant rooms), and
Openfire with Swift.
Change-Id: I63f5488433110231ca7d0a6834161a2acd2cfc73
Diffstat (limited to 'SwifTools/Idle/IdleDetector.cpp')
0 files changed, 0 insertions, 0 deletions