public void syncRecentContact(List<Account> contactList) {
        if (null != contactList && contactList.size() > 0) {
            for (Account account : contactList) {
                accountMap.put(account.getUserName(), account);
            }
        }
    }
public void syncRecentContact(List<Account> contactList) {
        if (null != contactList && contactList.size() > 0) {
            for (Account account : contactList) {
                accountMap.put(account.getUserName(), account);
            }
        }
    }
public void syncRecentContact ( List < Account > contactList ) { if ( null != contactList && contactList . size ( ) > 0 ) { for ( Account account : contactList ) { accountMap . put ( account . getUserName ( ) , account ) ; } } }
同步最近联系人
<p>
避免新建群聊无法同步

@param contactList 联系人列表
同步最近联系人 <p > 避免新建群聊无法同步