()
| 1960 | } |
| 1961 | |
| 1962 | public void cmdAdd() { |
| 1963 | if (isLoggedIn()) { |
| 1964 | Object o = getFocusedObject(); |
| 1965 | Contact cn = null; |
| 1966 | if (o instanceof Contact) { |
| 1967 | cn = (Contact) o; |
| 1968 | if (cn.getGroupType() != Groups.TYPE_NOT_IN_LIST && cn.getGroupType() != Groups.TYPE_SEARCH_RESULT) { |
| 1969 | cn = null; |
| 1970 | } |
| 1971 | } |
| 1972 | //#ifndef WMUC |
| 1973 | if (o instanceof MucContact) { |
| 1974 | cn = (Contact) o; |
| 1975 | } |
| 1976 | //#endif |
| 1977 | new ContactEdit(cn); |
| 1978 | } |
| 1979 | } |
| 1980 | |
| 1981 | //#ifndef WMUC |
| 1982 | public void reEnterRoom(Group group) { |
no test coverage detected