| Candy | Chats are not dead yet. | 
© 2011 Amiado Group AG. All rights reserved. © 2012-2014 Patrick Stadler & Michael Weibel. All rights reserved.
| chatRoom.js | |
| Candy. | Candy Chat Room | 
| Variables | |
| room | Object containing roomJid and name. | 
| user | Current local user of this room. | 
| Roster | Candy.Core.ChatRoster instance | 
| Functions | |
| setUser | Set user of this room. | 
| getUser | Get current local user | 
| getJid | Get room jid | 
| setName | Set room name | 
| getName | Get room name | 
| setRoster | Set roster of room | 
| getRoster | Get roster | 
Object containing roomJid and name.
this.room 
Current local user of this room.
this.user 
Set user of this room.
this.setUser = function( user ) 
Get current local user
this.getUser = function() 
Get room jid
this.getJid = function() 
Set room name
this.setName = function( name ) 
Get room name
this.getName = function() 
Set roster of room
this.setRoster = function( roster ) 
Get roster
this.getRoster = function()