Software / code / prosody
Comparison
core/s2smanager.lua @ 1890:aed0d8a0cca8
s2smanager: Don't wait for stream:features from non-XMPP-1.0 hosts
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 04 Oct 2009 16:39:57 +0100 |
| parent | 1889:e875833ae08e |
| child | 1891:fd725a28141d |
comparison
equal
deleted
inserted
replaced
| 1889:e875833ae08e | 1890:aed0d8a0cca8 |
|---|---|
| 382 send_buffer[i] = nil; | 382 send_buffer[i] = nil; |
| 383 end | 383 end |
| 384 end | 384 end |
| 385 session.send_buffer = nil; | 385 session.send_buffer = nil; |
| 386 | 386 |
| 387 if not session.dialback_verifying then | 387 -- If server is pre-1.0, don't wait for features, just do dialback |
| 388 initiate_dialback(session); | 388 if session.version < 1.0 then |
| 389 else | 389 if not session.dialback_verifying then |
| 390 mark_connected(session); | 390 initiate_dialback(session); |
| 391 else | |
| 392 mark_connected(session); | |
| 393 end | |
| 391 end | 394 end |
| 392 end | 395 end |
| 393 | 396 |
| 394 session.notopen = nil; | 397 session.notopen = nil; |
| 395 end | 398 end |