Ignore:
Timestamp:
01/06/12 14:27:26 (12 years ago)
Author:
alexandrecorreia
Message:

Ticket #2260 - Sincronismo do módulo IM para o trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jabberit_messenger/jmessenger/js/trophyim.js

    r5217 r5320  
    622622                if( getAttribute('ask') && getAttribute('ask').toString() === "subscribe" )  
    623623                { 
     624                    if( getAttribute('subscription').toString() === "none" ) 
     625                    { 
     626                        TrophyIM.rosterObj.addContact( getAttribute('jid'), getAttribute('ask'), getAttribute('name'), group_array ); 
     627                    } 
     628                                         
    624629                    if( getAttribute('subscription').toString() === "remove" ) 
    625630                    { 
    626631                        TrophyIM.rosterObj.removeContact( getAttribute('jid').toString() ); 
    627                     } 
    628                     else 
    629                     { 
    630                         TrophyIM.rosterObj.addContact( getAttribute('jid'), getAttribute('ask'), getAttribute('name'), group_array ); 
    631632                    } 
    632633                } 
     
    642643                    } 
    643644                } 
    644             } 
     645                } 
    645646        } 
    646647 
Note: See TracChangeset for help on using the changeset viewer.