Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
View
@@ -266,7 +266,7 @@ function SessionTracker ( Address )
{
/* Error
*/
- if ( Event.Type == 'message' && Event.Payload.Type == 'error' )
+ if ( Event.Payload.Type == 'error' )
{
if ( Event.Payload.ErrorMessage.length )
{
@@ -412,7 +412,9 @@ function SessionTracker ( Address )
/* Update
*/
else if ( this.Occupants.Exists( Event.Payload.FromAddress.Resource ) )
+ {
this.Occupants( Event.Payload.FromAddress.Resource ).Update( Event.Payload );
+ }
/* Add
*/
else if ( Event.Payload.FromAddress.Resource.length )
2  Client/src/main/dial_conference.js
View
@@ -16,7 +16,7 @@ function dial_conference ( Address, Password, InviteJid, InviteGroup )
Tracker.Password = Password;
Tracker.SendPresence( external.globals( 'cfg' )( 'lastmode' ), external.globals( 'cfg' )( 'lastmsg' ) );
}
- if ( Tracker.Address.Resource.length && Tracker.Address.Resource != Address.Resource )
+ if ( Address.Resource.length && Tracker.Address.Resource != Address.Resource )
{
Tracker.Address = Address;
Tracker.DrawContainerInfo();
Please sign in to comment.
Something went wrong with that request. Please try again.