Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed issue 103 Automatically reconnect bookmarked conference rooms

  • Loading branch information...
commit 37d3b2093f2cc3ab2d402cfb4d527721eba30c21 1 parent 5679116
Sebastiaan Deckers cbas authored
4 Client/js/conference-container.js
@@ -266,7 +266,7 @@ function SessionTracker ( Address )
266 266 {
267 267 /* Error
268 268 */
269   - if ( Event.Type == 'message' && Event.Payload.Type == 'error' )
  269 + if ( Event.Payload.Type == 'error' )
270 270 {
271 271 if ( Event.Payload.ErrorMessage.length )
272 272 {
@@ -412,7 +412,9 @@ function SessionTracker ( Address )
412 412 /* Update
413 413 */
414 414 else if ( this.Occupants.Exists( Event.Payload.FromAddress.Resource ) )
  415 + {
415 416 this.Occupants( Event.Payload.FromAddress.Resource ).Update( Event.Payload );
  417 + }
416 418 /* Add
417 419 */
418 420 else if ( Event.Payload.FromAddress.Resource.length )
2  Client/src/main/dial_conference.js
@@ -16,7 +16,7 @@ function dial_conference ( Address, Password, InviteJid, InviteGroup )
16 16 Tracker.Password = Password;
17 17 Tracker.SendPresence( external.globals( 'cfg' )( 'lastmode' ), external.globals( 'cfg' )( 'lastmsg' ) );
18 18 }
19   - if ( Tracker.Address.Resource.length && Tracker.Address.Resource != Address.Resource )
  19 + if ( Address.Resource.length && Tracker.Address.Resource != Address.Resource )
20 20 {
21 21 Tracker.Address = Address;
22 22 Tracker.DrawContainerInfo();

0 comments on commit 37d3b20

Please sign in to comment.
Something went wrong with that request. Please try again.