()
| 953 | } |
| 954 | |
| 955 | public void makeRosterOffline() { |
| 956 | AutoStatus.getInstance().stop(); |
| 957 | synchronized (hContacts) { |
| 958 | int j = hContacts.size(); |
| 959 | for (int i = 0; i < j; i++) { |
| 960 | ((Contact) hContacts.elementAt(i)).setStatus(Presence.PRESENCE_OFFLINE); // keep error & unknown |
| 961 | } |
| 962 | } |
| 963 | sort(hContacts); |
| 964 | reEnumRoster(); |
| 965 | redraw(); |
| 966 | } |
| 967 | |
| 968 | public void sendDirectPresence(int status, String to, String nick, JabberDataBlock x) { |
| 969 | if (to == null) { |
no test coverage detected