(String mess)
| 1820 | } |
| 1821 | |
| 1822 | public void logoff(String mess) { |
| 1823 | if (isLoggedIn()) { |
| 1824 | try { |
| 1825 | if (mess == null) { |
| 1826 | mess = sl.getStatus(Presence.PRESENCE_OFFLINE).getMessage(); |
| 1827 | } |
| 1828 | sendPresence(Presence.PRESENCE_OFFLINE, mess); |
| 1829 | sd.getTheStream().loggedIn = false; |
| 1830 | } catch (Exception e) { |
| 1831 | } |
| 1832 | } |
| 1833 | //#ifdef STATS |
| 1834 | Stats.getInstance().saveToStorage(false); |
| 1835 | //#endif |
| 1836 | } |
| 1837 | |
| 1838 | public void quit() { |
| 1839 | AutoStatus.getInstance().stop(); |
no test coverage detected