public synchronized MultiUserChatLight getMultiUserChatLight ( EntityBareJid jid ) { WeakReference < MultiUserChatLight > weakRefMultiUserChat = multiUserChatLights . get ( jid ) ; if ( weakRefMultiUserChat == null ) { return createNewMucLightAndAddToMap ( jid ) ; } MultiUserChatLight multiUserChatLight = weakRefMultiUserChat . get ( ) ; if ( multiUserChatLight == null ) { return createNewMucLightAndAddToMap ( jid ) ; } return multiUserChatLight ; }
Obtain the MUC Light .