add-offline-message.diff
changeset 53 577410087c82
parent 52 887f44e99aa1
child 58 04cb7d38c438
equal deleted inserted replaced
52:887f44e99aa1 53:577410087c82
     1 # HG changeset patch
     1 # HG changeset patch
     2 # Parent d56e2f8b2e83dfc816f26af77fd699073a5e66c0
     2 # Parent 4f3a07b6b0e02c3bccc10a2157e972d9299c7dab
     3 Allow to specify status message, when going offline
     3 Allow to specify status message, when going offline
     4 
     4 
     5 diff -r d56e2f8b2e83 mcabber/ChangeLog.api
     5 diff -r 4f3a07b6b0e0 mcabber/ChangeLog.api
     6 --- a/mcabber/ChangeLog.api	Thu Oct 18 13:43:18 2012 +0300
     6 --- a/mcabber/ChangeLog.api	Thu Oct 18 21:49:01 2012 +0300
     7 +++ b/mcabber/ChangeLog.api	Thu Oct 18 13:44:57 2012 +0300
     7 +++ b/mcabber/ChangeLog.api	Thu Oct 18 21:49:06 2012 +0300
     8 @@ -1,3 +1,11 @@
     8 @@ -1,3 +1,11 @@
     9 +
     9 +
    10 +experimental (38)
    10 +experimental (38)
    11 +
    11 +
    12 + * experimental patch add-offline-message
    12 + * experimental patch add-offline-message
    15 +  -- Myhailo Danylenko, 2012-07-31
    15 +  -- Myhailo Danylenko, 2012-07-31
    16 +
    16 +
    17  experimental (37)
    17  experimental (37)
    18  
    18  
    19   * Change branch to "experimental".
    19   * Change branch to "experimental".
    20 @@ -13,6 +21,13 @@
    20 @@ -14,6 +22,13 @@
    21  
    21  
    22    -- Myhailo Danylenko, 2012-10-18
    22    -- Myhailo Danylenko, 2012-10-18
    23  
    23  
    24 +experimental (36)
    24 +experimental (36)
    25 +
    25 +
    29 +  -- Myhailo Danylenko, 2012-07-31
    29 +  -- Myhailo Danylenko, 2012-07-31
    30 +
    30 +
    31  experimental (35)
    31  experimental (35)
    32  
    32  
    33   * Change branch to "experimental".
    33   * Change branch to "experimental".
    34 diff -r d56e2f8b2e83 mcabber/doc/help/cs/hlp.txt
    34 diff -r 4f3a07b6b0e0 mcabber/doc/help/cs/hlp.txt
    35 --- a/mcabber/doc/help/cs/hlp.txt	Thu Oct 18 13:43:18 2012 +0300
    35 --- a/mcabber/doc/help/cs/hlp.txt	Thu Oct 18 21:49:01 2012 +0300
    36 +++ b/mcabber/doc/help/cs/hlp.txt	Thu Oct 18 13:44:57 2012 +0300
    36 +++ b/mcabber/doc/help/cs/hlp.txt	Thu Oct 18 21:49:06 2012 +0300
    37 @@ -3,4 +3,4 @@
    37 @@ -3,4 +3,4 @@
    38  
    38  
    39  Zobrazí nápovědu k příkazu nebo tématu.
    39  Zobrazí nápovědu k příkazu nebo tématu.
    40  
    40  
    41 -Dostupné příkazy jsou: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    41 -Dostupné příkazy jsou: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    42 +Dostupné příkazy jsou: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    42 +Dostupné příkazy jsou: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    43 diff -r d56e2f8b2e83 mcabber/doc/help/cs/hlp_disconnect.txt
    43 diff -r 4f3a07b6b0e0 mcabber/doc/help/cs/hlp_disconnect.txt
    44 --- a/mcabber/doc/help/cs/hlp_disconnect.txt	Thu Oct 18 13:43:18 2012 +0300
    44 --- a/mcabber/doc/help/cs/hlp_disconnect.txt	Thu Oct 18 21:49:01 2012 +0300
    45 +++ b/mcabber/doc/help/cs/hlp_disconnect.txt	Thu Oct 18 13:44:57 2012 +0300
    45 +++ b/mcabber/doc/help/cs/hlp_disconnect.txt	Thu Oct 18 21:49:06 2012 +0300
    46 @@ -1,5 +1,6 @@
    46 @@ -1,5 +1,6 @@
    47  
    47  
    48 - /DISCONNECT
    48 - /DISCONNECT
    49 + /DISCONNECT [message]
    49 + /DISCONNECT [message]
    50  
    50  
    51  Ukončí spojení s Jabber serverem.
    51  Ukončí spojení s Jabber serverem.
    52 +You can specify status message to disconnect with.
    52 +You can specify status message to disconnect with.
    53  Poznámka: Seznam kontaktů (roster) je přístupný pouze v době, kdy je spojení aktivní. Po odpojení od serveru je proto prázdný.
    53  Poznámka: Seznam kontaktů (roster) je přístupný pouze v době, kdy je spojení aktivní. Po odpojení od serveru je proto prázdný.
    54 diff -r d56e2f8b2e83 mcabber/doc/help/cs/hlp_exit.txt
    54 diff -r 4f3a07b6b0e0 mcabber/doc/help/cs/hlp_exit.txt
    55 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    55 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    56 +++ b/mcabber/doc/help/cs/hlp_exit.txt	Thu Oct 18 13:44:57 2012 +0300
    56 +++ b/mcabber/doc/help/cs/hlp_exit.txt	Thu Oct 18 21:49:06 2012 +0300
    57 @@ -0,0 +1,5 @@
    57 @@ -0,0 +1,5 @@
    58 +
    58 +
    59 + /EXIT [message]
    59 + /EXIT [message]
    60 +
    60 +
    61 +Terminate all connections and exit mcabber.
    61 +Terminate all connections and exit mcabber.
    62 +This command is the same as /QUIT, but you can specify status message to exit with.
    62 +This command is the same as /QUIT, but you can specify status message to exit with.
    63 diff -r d56e2f8b2e83 mcabber/doc/help/de/hlp.txt
    63 diff -r 4f3a07b6b0e0 mcabber/doc/help/de/hlp.txt
    64 --- a/mcabber/doc/help/de/hlp.txt	Thu Oct 18 13:43:18 2012 +0300
    64 --- a/mcabber/doc/help/de/hlp.txt	Thu Oct 18 21:49:01 2012 +0300
    65 +++ b/mcabber/doc/help/de/hlp.txt	Thu Oct 18 13:44:57 2012 +0300
    65 +++ b/mcabber/doc/help/de/hlp.txt	Thu Oct 18 21:49:06 2012 +0300
    66 @@ -3,4 +3,4 @@
    66 @@ -3,4 +3,4 @@
    67  
    67  
    68  Zeigt die Hilfe zu einem Befehl oder ein Thema an.
    68  Zeigt die Hilfe zu einem Befehl oder ein Thema an.
    69  Wenn kein Argument gegeben ist, wird diese Hilfe angezeigt.
    69  Wenn kein Argument gegeben ist, wird diese Hilfe angezeigt.
    70 -Verfügbare Befehle: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    70 -Verfügbare Befehle: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    71 +Verfügbare Befehle: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    71 +Verfügbare Befehle: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    72 diff -r d56e2f8b2e83 mcabber/doc/help/de/hlp_disconnect.txt
    72 diff -r 4f3a07b6b0e0 mcabber/doc/help/de/hlp_disconnect.txt
    73 --- a/mcabber/doc/help/de/hlp_disconnect.txt	Thu Oct 18 13:43:18 2012 +0300
    73 --- a/mcabber/doc/help/de/hlp_disconnect.txt	Thu Oct 18 21:49:01 2012 +0300
    74 +++ b/mcabber/doc/help/de/hlp_disconnect.txt	Thu Oct 18 13:44:57 2012 +0300
    74 +++ b/mcabber/doc/help/de/hlp_disconnect.txt	Thu Oct 18 21:49:06 2012 +0300
    75 @@ -1,5 +1,6 @@
    75 @@ -1,5 +1,6 @@
    76  
    76  
    77 - /DISCONNECT
    77 - /DISCONNECT
    78 + /DISCONNECT [message]
    78 + /DISCONNECT [message]
    79  
    79  
    80  Die Verbindung zum Jabber Server trennen.
    80  Die Verbindung zum Jabber Server trennen.
    81 +You can specify status message to disconnect with.
    81 +You can specify status message to disconnect with.
    82  Denke daran, dass der Roster nur verfügbar ist wenn man mit dem Jabber Server verbunden ist. Somit ist die Buddyliste auch leer, wenn man sich beim Server abmeldet.
    82  Denke daran, dass der Roster nur verfügbar ist wenn man mit dem Jabber Server verbunden ist. Somit ist die Buddyliste auch leer, wenn man sich beim Server abmeldet.
    83 diff -r d56e2f8b2e83 mcabber/doc/help/de/hlp_exit.txt
    83 diff -r 4f3a07b6b0e0 mcabber/doc/help/de/hlp_exit.txt
    84 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    84 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    85 +++ b/mcabber/doc/help/de/hlp_exit.txt	Thu Oct 18 13:44:57 2012 +0300
    85 +++ b/mcabber/doc/help/de/hlp_exit.txt	Thu Oct 18 21:49:06 2012 +0300
    86 @@ -0,0 +1,5 @@
    86 @@ -0,0 +1,5 @@
    87 +
    87 +
    88 + /EXIT [message]
    88 + /EXIT [message]
    89 +
    89 +
    90 +Terminate all connections and exit mcabber.
    90 +Terminate all connections and exit mcabber.
    91 +This command is the same as /QUIT, but you can specify status message to exit with.
    91 +This command is the same as /QUIT, but you can specify status message to exit with.
    92 diff -r d56e2f8b2e83 mcabber/doc/help/en/hlp.txt
    92 diff -r 4f3a07b6b0e0 mcabber/doc/help/en/hlp.txt
    93 --- a/mcabber/doc/help/en/hlp.txt	Thu Oct 18 13:43:18 2012 +0300
    93 --- a/mcabber/doc/help/en/hlp.txt	Thu Oct 18 21:49:01 2012 +0300
    94 +++ b/mcabber/doc/help/en/hlp.txt	Thu Oct 18 13:44:57 2012 +0300
    94 +++ b/mcabber/doc/help/en/hlp.txt	Thu Oct 18 21:49:06 2012 +0300
    95 @@ -3,4 +3,4 @@
    95 @@ -3,4 +3,4 @@
    96  
    96  
    97  Display some help about a command or a topic.
    97  Display some help about a command or a topic.
    98  If no argument provided a usage of this command is printed.
    98  If no argument provided a usage of this command is printed.
    99 -Available commands: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    99 -Available commands: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   100 +Available commands: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   100 +Available commands: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   101 diff -r d56e2f8b2e83 mcabber/doc/help/en/hlp_disconnect.txt
   101 diff -r 4f3a07b6b0e0 mcabber/doc/help/en/hlp_disconnect.txt
   102 --- a/mcabber/doc/help/en/hlp_disconnect.txt	Thu Oct 18 13:43:18 2012 +0300
   102 --- a/mcabber/doc/help/en/hlp_disconnect.txt	Thu Oct 18 21:49:01 2012 +0300
   103 +++ b/mcabber/doc/help/en/hlp_disconnect.txt	Thu Oct 18 13:44:57 2012 +0300
   103 +++ b/mcabber/doc/help/en/hlp_disconnect.txt	Thu Oct 18 21:49:06 2012 +0300
   104 @@ -1,5 +1,6 @@
   104 @@ -1,5 +1,6 @@
   105  
   105  
   106 - /DISCONNECT
   106 - /DISCONNECT
   107 + /DISCONNECT [message]
   107 + /DISCONNECT [message]
   108  
   108  
   109  Terminate the connection to the Jabber server.
   109  Terminate the connection to the Jabber server.
   110 +You can specify status message to disconnect with.
   110 +You can specify status message to disconnect with.
   111  Note: the roster is only available when the connection to the server is active, so the buddylist is empty when disconnected.
   111  Note: the roster is only available when the connection to the server is active, so the buddylist is empty when disconnected.
   112 diff -r d56e2f8b2e83 mcabber/doc/help/en/hlp_exit.txt
   112 diff -r 4f3a07b6b0e0 mcabber/doc/help/en/hlp_exit.txt
   113 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   113 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   114 +++ b/mcabber/doc/help/en/hlp_exit.txt	Thu Oct 18 13:44:57 2012 +0300
   114 +++ b/mcabber/doc/help/en/hlp_exit.txt	Thu Oct 18 21:49:06 2012 +0300
   115 @@ -0,0 +1,5 @@
   115 @@ -0,0 +1,5 @@
   116 +
   116 +
   117 + /EXIT [message]
   117 + /EXIT [message]
   118 +
   118 +
   119 +Terminate all connections and exit mcabber.
   119 +Terminate all connections and exit mcabber.
   120 +This command is the same as /QUIT, but you can specify status message to exit with.
   120 +This command is the same as /QUIT, but you can specify status message to exit with.
   121 diff -r d56e2f8b2e83 mcabber/doc/help/fr/hlp.txt
   121 diff -r 4f3a07b6b0e0 mcabber/doc/help/fr/hlp.txt
   122 --- a/mcabber/doc/help/fr/hlp.txt	Thu Oct 18 13:43:18 2012 +0300
   122 --- a/mcabber/doc/help/fr/hlp.txt	Thu Oct 18 21:49:01 2012 +0300
   123 +++ b/mcabber/doc/help/fr/hlp.txt	Thu Oct 18 13:44:57 2012 +0300
   123 +++ b/mcabber/doc/help/fr/hlp.txt	Thu Oct 18 21:49:06 2012 +0300
   124 @@ -2,4 +2,4 @@
   124 @@ -2,4 +2,4 @@
   125   /HELP [commande|+sujet]
   125   /HELP [commande|+sujet]
   126  
   126  
   127  Affiche de l'aide sur la commande ou le sujet demandé.
   127  Affiche de l'aide sur la commande ou le sujet demandé.
   128 -Les commandes disponibles sont : add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   128 -Les commandes disponibles sont : add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   129 +Les commandes disponibles sont : add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   129 +Les commandes disponibles sont : add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   130 diff -r d56e2f8b2e83 mcabber/doc/help/fr/hlp_disconnect.txt
   130 diff -r 4f3a07b6b0e0 mcabber/doc/help/fr/hlp_disconnect.txt
   131 --- a/mcabber/doc/help/fr/hlp_disconnect.txt	Thu Oct 18 13:43:18 2012 +0300
   131 --- a/mcabber/doc/help/fr/hlp_disconnect.txt	Thu Oct 18 21:49:01 2012 +0300
   132 +++ b/mcabber/doc/help/fr/hlp_disconnect.txt	Thu Oct 18 13:44:57 2012 +0300
   132 +++ b/mcabber/doc/help/fr/hlp_disconnect.txt	Thu Oct 18 21:49:06 2012 +0300
   133 @@ -1,5 +1,6 @@
   133 @@ -1,5 +1,6 @@
   134  
   134  
   135 - /DISCONNECT
   135 - /DISCONNECT
   136 + /DISCONNECT [message]
   136 + /DISCONNECT [message]
   137  
   137  
   138  Ferme la connexion au serveur Jabber.
   138  Ferme la connexion au serveur Jabber.
   139 +You can specify status message to disconnect with.
   139 +You can specify status message to disconnect with.
   140  Remarque : le roster n'est disponible que lorsque la connexion au serveur estactive, donc la liste de contacts est vide après déconnexion.
   140  Remarque : le roster n'est disponible que lorsque la connexion au serveur estactive, donc la liste de contacts est vide après déconnexion.
   141 diff -r d56e2f8b2e83 mcabber/doc/help/fr/hlp_exit.txt
   141 diff -r 4f3a07b6b0e0 mcabber/doc/help/fr/hlp_exit.txt
   142 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   142 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   143 +++ b/mcabber/doc/help/fr/hlp_exit.txt	Thu Oct 18 13:44:57 2012 +0300
   143 +++ b/mcabber/doc/help/fr/hlp_exit.txt	Thu Oct 18 21:49:06 2012 +0300
   144 @@ -0,0 +1,5 @@
   144 @@ -0,0 +1,5 @@
   145 +
   145 +
   146 + /EXIT [message]
   146 + /EXIT [message]
   147 +
   147 +
   148 +Terminate all connections and exit mcabber.
   148 +Terminate all connections and exit mcabber.
   149 +This command is the same as /QUIT, but you can specify status message to exit with.
   149 +This command is the same as /QUIT, but you can specify status message to exit with.
   150 diff -r d56e2f8b2e83 mcabber/doc/help/it/hlp.txt
   150 diff -r 4f3a07b6b0e0 mcabber/doc/help/it/hlp.txt
   151 --- a/mcabber/doc/help/it/hlp.txt	Thu Oct 18 13:43:18 2012 +0300
   151 --- a/mcabber/doc/help/it/hlp.txt	Thu Oct 18 21:49:01 2012 +0300
   152 +++ b/mcabber/doc/help/it/hlp.txt	Thu Oct 18 13:44:57 2012 +0300
   152 +++ b/mcabber/doc/help/it/hlp.txt	Thu Oct 18 21:49:06 2012 +0300
   153 @@ -3,4 +3,4 @@
   153 @@ -3,4 +3,4 @@
   154  
   154  
   155  Mostra l'help relativo a comando o ad argomento.
   155  Mostra l'help relativo a comando o ad argomento.
   156  Se non viene specificato alcun argomento, viene visualizzato l'utilizzo del comando corrente.
   156  Se non viene specificato alcun argomento, viene visualizzato l'utilizzo del comando corrente.
   157 -I comandi disponibili sono: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   157 -I comandi disponibili sono: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   158 +I comandi disponibili sono: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   158 +I comandi disponibili sono: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   159 diff -r d56e2f8b2e83 mcabber/doc/help/it/hlp_disconnect.txt
   159 diff -r 4f3a07b6b0e0 mcabber/doc/help/it/hlp_disconnect.txt
   160 --- a/mcabber/doc/help/it/hlp_disconnect.txt	Thu Oct 18 13:43:18 2012 +0300
   160 --- a/mcabber/doc/help/it/hlp_disconnect.txt	Thu Oct 18 21:49:01 2012 +0300
   161 +++ b/mcabber/doc/help/it/hlp_disconnect.txt	Thu Oct 18 13:44:57 2012 +0300
   161 +++ b/mcabber/doc/help/it/hlp_disconnect.txt	Thu Oct 18 21:49:06 2012 +0300
   162 @@ -1,5 +1,6 @@
   162 @@ -1,5 +1,6 @@
   163  
   163  
   164 - /DISCONNECT
   164 - /DISCONNECT
   165 + /DISCONNECT [message]
   165 + /DISCONNECT [message]
   166  
   166  
   167  Termina la connessione con il serve Jabber.
   167  Termina la connessione con il serve Jabber.
   168 +You can specify status message to disconnect with.
   168 +You can specify status message to disconnect with.
   169  Nota: il roster è disponibile soltanto quando la connessione è attiva, quindi la lista dei contatti è vuota quando si è disconnessi.
   169  Nota: il roster è disponibile soltanto quando la connessione è attiva, quindi la lista dei contatti è vuota quando si è disconnessi.
   170 diff -r d56e2f8b2e83 mcabber/doc/help/it/hlp_exit.txt
   170 diff -r 4f3a07b6b0e0 mcabber/doc/help/it/hlp_exit.txt
   171 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   171 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   172 +++ b/mcabber/doc/help/it/hlp_exit.txt	Thu Oct 18 13:44:57 2012 +0300
   172 +++ b/mcabber/doc/help/it/hlp_exit.txt	Thu Oct 18 21:49:06 2012 +0300
   173 @@ -0,0 +1,5 @@
   173 @@ -0,0 +1,5 @@
   174 +
   174 +
   175 + /EXIT [message]
   175 + /EXIT [message]
   176 +
   176 +
   177 +Terminate all connections and exit mcabber.
   177 +Terminate all connections and exit mcabber.
   178 +This command is the same as /QUIT, but you can specify status message to exit with.
   178 +This command is the same as /QUIT, but you can specify status message to exit with.
   179 diff -r d56e2f8b2e83 mcabber/doc/help/nl/hlp.txt
   179 diff -r 4f3a07b6b0e0 mcabber/doc/help/nl/hlp.txt
   180 --- a/mcabber/doc/help/nl/hlp.txt	Thu Oct 18 13:43:18 2012 +0300
   180 --- a/mcabber/doc/help/nl/hlp.txt	Thu Oct 18 21:49:01 2012 +0300
   181 +++ b/mcabber/doc/help/nl/hlp.txt	Thu Oct 18 13:44:57 2012 +0300
   181 +++ b/mcabber/doc/help/nl/hlp.txt	Thu Oct 18 21:49:06 2012 +0300
   182 @@ -3,4 +3,4 @@
   182 @@ -3,4 +3,4 @@
   183  
   183  
   184  Toon informatie over een commando of onderwerp.
   184  Toon informatie over een commando of onderwerp.
   185  Als geen argument is meegegeven, wordt een tekst over het gebruik van dit commando getoond.
   185  Als geen argument is meegegeven, wordt een tekst over het gebruik van dit commando getoond.
   186 -Beschikbare commando's: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   186 -Beschikbare commando's: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   187 +Beschikbare commando's: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   187 +Beschikbare commando's: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   188 diff -r d56e2f8b2e83 mcabber/doc/help/nl/hlp_disconnect.txt
   188 diff -r 4f3a07b6b0e0 mcabber/doc/help/nl/hlp_disconnect.txt
   189 --- a/mcabber/doc/help/nl/hlp_disconnect.txt	Thu Oct 18 13:43:18 2012 +0300
   189 --- a/mcabber/doc/help/nl/hlp_disconnect.txt	Thu Oct 18 21:49:01 2012 +0300
   190 +++ b/mcabber/doc/help/nl/hlp_disconnect.txt	Thu Oct 18 13:44:57 2012 +0300
   190 +++ b/mcabber/doc/help/nl/hlp_disconnect.txt	Thu Oct 18 21:49:06 2012 +0300
   191 @@ -1,5 +1,6 @@
   191 @@ -1,5 +1,6 @@
   192  
   192  
   193 - /DISCONNECT
   193 - /DISCONNECT
   194 + /DISCONNECT [message]
   194 + /DISCONNECT [message]
   195  
   195  
   196  Beëindig de verbinding met de Jabber server.
   196  Beëindig de verbinding met de Jabber server.
   197 +You can specify status message to disconnect with.
   197 +You can specify status message to disconnect with.
   198  NB: het Roster is alleen beschikbaar indien er een actieve verbinding met de server bestaat. De buddylijst is dus leeg indien niet verbonden.
   198  NB: het Roster is alleen beschikbaar indien er een actieve verbinding met de server bestaat. De buddylijst is dus leeg indien niet verbonden.
   199 diff -r d56e2f8b2e83 mcabber/doc/help/nl/hlp_exit.txt
   199 diff -r 4f3a07b6b0e0 mcabber/doc/help/nl/hlp_exit.txt
   200 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   200 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   201 +++ b/mcabber/doc/help/nl/hlp_exit.txt	Thu Oct 18 13:44:57 2012 +0300
   201 +++ b/mcabber/doc/help/nl/hlp_exit.txt	Thu Oct 18 21:49:06 2012 +0300
   202 @@ -0,0 +1,5 @@
   202 @@ -0,0 +1,5 @@
   203 +
   203 +
   204 + /EXIT [message]
   204 + /EXIT [message]
   205 +
   205 +
   206 +Terminate all connections and exit mcabber.
   206 +Terminate all connections and exit mcabber.
   207 +This command is the same as /QUIT, but you can specify status message to exit with.
   207 +This command is the same as /QUIT, but you can specify status message to exit with.
   208 diff -r d56e2f8b2e83 mcabber/doc/help/pl/hlp.txt
   208 diff -r 4f3a07b6b0e0 mcabber/doc/help/pl/hlp.txt
   209 --- a/mcabber/doc/help/pl/hlp.txt	Thu Oct 18 13:43:18 2012 +0300
   209 --- a/mcabber/doc/help/pl/hlp.txt	Thu Oct 18 21:49:01 2012 +0300
   210 +++ b/mcabber/doc/help/pl/hlp.txt	Thu Oct 18 13:44:57 2012 +0300
   210 +++ b/mcabber/doc/help/pl/hlp.txt	Thu Oct 18 21:49:06 2012 +0300
   211 @@ -3,4 +3,4 @@
   211 @@ -3,4 +3,4 @@
   212  
   212  
   213  Wyświetla pomoc dotyczącą danego polecenia lub tematu.
   213  Wyświetla pomoc dotyczącą danego polecenia lub tematu.
   214  Jeśli nie podano żadnego argumentu, zostanie wyświetlona pomoc o sposobie użycia.
   214  Jeśli nie podano żadnego argumentu, zostanie wyświetlona pomoc o sposobie użycia.
   215 -Dostępne polecenia: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   215 -Dostępne polecenia: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   216 +Dostępne polecenia: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   216 +Dostępne polecenia: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   217 diff -r d56e2f8b2e83 mcabber/doc/help/pl/hlp_disconnect.txt
   217 diff -r 4f3a07b6b0e0 mcabber/doc/help/pl/hlp_disconnect.txt
   218 --- a/mcabber/doc/help/pl/hlp_disconnect.txt	Thu Oct 18 13:43:18 2012 +0300
   218 --- a/mcabber/doc/help/pl/hlp_disconnect.txt	Thu Oct 18 21:49:01 2012 +0300
   219 +++ b/mcabber/doc/help/pl/hlp_disconnect.txt	Thu Oct 18 13:44:57 2012 +0300
   219 +++ b/mcabber/doc/help/pl/hlp_disconnect.txt	Thu Oct 18 21:49:06 2012 +0300
   220 @@ -1,5 +1,6 @@
   220 @@ -1,5 +1,6 @@
   221  
   221  
   222 - /DISCONNECT
   222 - /DISCONNECT
   223 + /DISCONNECT [message]
   223 + /DISCONNECT [message]
   224  
   224  
   225  Przerywa połączenie z serwerem Jabbera.
   225  Przerywa połączenie z serwerem Jabbera.
   226 -Uwaga: roster dostępny jest tylko gdy połączenie do serwera jest aktywne, zatem jeżeli nie jesteś połączony lista kontaktów jest pusta.
   226 -Uwaga: roster dostępny jest tylko gdy połączenie do serwera jest aktywne, zatem jeżeli nie jesteś połączony lista kontaktów jest pusta.
   227 \ No newline at end of file
   227 \ No newline at end of file
   228 +You can specify status message to disconnect with.
   228 +You can specify status message to disconnect with.
   229 +Uwaga: roster dostępny jest tylko gdy połączenie do serwera jest aktywne, zatem jeżeli nie jesteś połączony lista kontaktów jest pusta.
   229 +Uwaga: roster dostępny jest tylko gdy połączenie do serwera jest aktywne, zatem jeżeli nie jesteś połączony lista kontaktów jest pusta.
   230 diff -r d56e2f8b2e83 mcabber/doc/help/pl/hlp_exit.txt
   230 diff -r 4f3a07b6b0e0 mcabber/doc/help/pl/hlp_exit.txt
   231 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   231 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   232 +++ b/mcabber/doc/help/pl/hlp_exit.txt	Thu Oct 18 13:44:57 2012 +0300
   232 +++ b/mcabber/doc/help/pl/hlp_exit.txt	Thu Oct 18 21:49:06 2012 +0300
   233 @@ -0,0 +1,5 @@
   233 @@ -0,0 +1,5 @@
   234 +
   234 +
   235 + /EXIT [message]
   235 + /EXIT [message]
   236 +
   236 +
   237 +Terminate all connections and exit mcabber.
   237 +Terminate all connections and exit mcabber.
   238 +This command is the same as /QUIT, but you can specify status message to exit with.
   238 +This command is the same as /QUIT, but you can specify status message to exit with.
   239 diff -r d56e2f8b2e83 mcabber/doc/help/ru/hlp.txt
   239 diff -r 4f3a07b6b0e0 mcabber/doc/help/ru/hlp.txt
   240 --- a/mcabber/doc/help/ru/hlp.txt	Thu Oct 18 13:43:18 2012 +0300
   240 --- a/mcabber/doc/help/ru/hlp.txt	Thu Oct 18 21:49:01 2012 +0300
   241 +++ b/mcabber/doc/help/ru/hlp.txt	Thu Oct 18 13:44:57 2012 +0300
   241 +++ b/mcabber/doc/help/ru/hlp.txt	Thu Oct 18 21:49:06 2012 +0300
   242 @@ -3,4 +3,4 @@
   242 @@ -3,4 +3,4 @@
   243  
   243  
   244  Отображает файл помощи о запрошенной команде или топике.
   244  Отображает файл помощи о запрошенной команде или топике.
   245  Если выполнить без аргументов, будут отображены допустимые команды.
   245  Если выполнить без аргументов, будут отображены допустимые команды.
   246 -Допустимые команды: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   246 -Допустимые команды: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   247 +Допустимые команды: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   247 +Допустимые команды: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   248 diff -r d56e2f8b2e83 mcabber/doc/help/ru/hlp_disconnect.txt
   248 diff -r 4f3a07b6b0e0 mcabber/doc/help/ru/hlp_disconnect.txt
   249 --- a/mcabber/doc/help/ru/hlp_disconnect.txt	Thu Oct 18 13:43:18 2012 +0300
   249 --- a/mcabber/doc/help/ru/hlp_disconnect.txt	Thu Oct 18 21:49:01 2012 +0300
   250 +++ b/mcabber/doc/help/ru/hlp_disconnect.txt	Thu Oct 18 13:44:57 2012 +0300
   250 +++ b/mcabber/doc/help/ru/hlp_disconnect.txt	Thu Oct 18 21:49:06 2012 +0300
   251 @@ -1,5 +1,6 @@
   251 @@ -1,5 +1,6 @@
   252  
   252  
   253 - /DISCONNECT
   253 - /DISCONNECT
   254 + /DISCONNECT [сообщение]
   254 + /DISCONNECT [сообщение]
   255  
   255  
   256  Завершает соединение с Jabber-сервером.
   256  Завершает соединение с Jabber-сервером.
   257 +Вы можете указать сообщение статуса при выходе.
   257 +Вы можете указать сообщение статуса при выходе.
   258  Примечание: список контактов доступен только когда соединение с сервером активно, поэтому список контактов пуст при завершении соединения.
   258  Примечание: список контактов доступен только когда соединение с сервером активно, поэтому список контактов пуст при завершении соединения.
   259 diff -r d56e2f8b2e83 mcabber/doc/help/ru/hlp_exit.txt
   259 diff -r 4f3a07b6b0e0 mcabber/doc/help/ru/hlp_exit.txt
   260 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   260 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   261 +++ b/mcabber/doc/help/ru/hlp_exit.txt	Thu Oct 18 13:44:57 2012 +0300
   261 +++ b/mcabber/doc/help/ru/hlp_exit.txt	Thu Oct 18 21:49:06 2012 +0300
   262 @@ -0,0 +1,6 @@
   262 @@ -0,0 +1,6 @@
   263 +
   263 +
   264 + /EXIT [сообщение]
   264 + /EXIT [сообщение]
   265 +
   265 +
   266 +
   266 +
   267 +Эта команда завершает все активные соединения и выходит из mcabber`а.
   267 +Эта команда завершает все активные соединения и выходит из mcabber`а.
   268 +Отличается от /QUIT тем, что позволяет указать сообщение статуса при выходе.
   268 +Отличается от /QUIT тем, что позволяет указать сообщение статуса при выходе.
   269 diff -r d56e2f8b2e83 mcabber/doc/help/uk/hlp.txt
   269 diff -r 4f3a07b6b0e0 mcabber/doc/help/uk/hlp.txt
   270 --- a/mcabber/doc/help/uk/hlp.txt	Thu Oct 18 13:43:18 2012 +0300
   270 --- a/mcabber/doc/help/uk/hlp.txt	Thu Oct 18 21:49:01 2012 +0300
   271 +++ b/mcabber/doc/help/uk/hlp.txt	Thu Oct 18 13:44:57 2012 +0300
   271 +++ b/mcabber/doc/help/uk/hlp.txt	Thu Oct 18 21:49:06 2012 +0300
   272 @@ -3,4 +3,4 @@
   272 @@ -3,4 +3,4 @@
   273  
   273  
   274  Друкує допоміжну інформацію про команду або вираз.
   274  Друкує допоміжну інформацію про команду або вираз.
   275  Без аргументу друкує оце повідомлення.
   275  Без аргументу друкує оце повідомлення.
   276 -Наявні команди: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   276 -Наявні команди: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   277 +Наявні команди: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   277 +Наявні команди: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   278 diff -r d56e2f8b2e83 mcabber/doc/help/uk/hlp_disconnect.txt
   278 diff -r 4f3a07b6b0e0 mcabber/doc/help/uk/hlp_disconnect.txt
   279 --- a/mcabber/doc/help/uk/hlp_disconnect.txt	Thu Oct 18 13:43:18 2012 +0300
   279 --- a/mcabber/doc/help/uk/hlp_disconnect.txt	Thu Oct 18 21:49:01 2012 +0300
   280 +++ b/mcabber/doc/help/uk/hlp_disconnect.txt	Thu Oct 18 13:44:57 2012 +0300
   280 +++ b/mcabber/doc/help/uk/hlp_disconnect.txt	Thu Oct 18 21:49:06 2012 +0300
   281 @@ -1,5 +1,6 @@
   281 @@ -1,5 +1,6 @@
   282  
   282  
   283 - /DISCONNECT
   283 - /DISCONNECT
   284 + /DISCONNECT [повідомлення]
   284 + /DISCONNECT [повідомлення]
   285  
   285  
   286  Розірвати з'єднання з сервером.
   286  Розірвати з'єднання з сервером.
   287 +Ви можете вказати повідомлення статусу відсутності.
   287 +Ви можете вказати повідомлення статусу відсутності.
   288  Майте на увазі, що список контактів зберігається на сервері, отож після від'єднання ви його більше не побачите.
   288  Майте на увазі, що список контактів зберігається на сервері, отож після від'єднання ви його більше не побачите.
   289 diff -r d56e2f8b2e83 mcabber/doc/help/uk/hlp_exit.txt
   289 diff -r 4f3a07b6b0e0 mcabber/doc/help/uk/hlp_exit.txt
   290 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   290 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   291 +++ b/mcabber/doc/help/uk/hlp_exit.txt	Thu Oct 18 13:44:57 2012 +0300
   291 +++ b/mcabber/doc/help/uk/hlp_exit.txt	Thu Oct 18 21:49:06 2012 +0300
   292 @@ -0,0 +1,5 @@
   292 @@ -0,0 +1,5 @@
   293 +
   293 +
   294 + /EXIT [повідомлення]
   294 + /EXIT [повідомлення]
   295 +
   295 +
   296 +Закриває всі з’єднання та завершує мкаббер.
   296 +Закриває всі з’єднання та завершує мкаббер.
   297 +Відмінність цієї команди від /QUIT у тому, що ви можете вказати повідомлення статусу відсутності.
   297 +Відмінність цієї команди від /QUIT у тому, що ви можете вказати повідомлення статусу відсутності.
   298 diff -r d56e2f8b2e83 mcabber/mcabber/api.h
   298 diff -r 4f3a07b6b0e0 mcabber/mcabber/api.h
   299 --- a/mcabber/mcabber/api.h	Thu Oct 18 13:43:18 2012 +0300
   299 --- a/mcabber/mcabber/api.h	Thu Oct 18 21:49:01 2012 +0300
   300 +++ b/mcabber/mcabber/api.h	Thu Oct 18 13:44:57 2012 +0300
   300 +++ b/mcabber/mcabber/api.h	Thu Oct 18 21:49:06 2012 +0300
   301 @@ -3,8 +3,8 @@
   301 @@ -4,8 +4,8 @@
   302  
   302  #include <glib.h>
   303  #include <mcabber/config.h> // For MCABBER_BRANCH
   303  #include <mcabber/config.h> // For MCABBER_BRANCH
   304  
   304  
   305 -#define MCABBER_API_VERSION 37
   305 -#define MCABBER_API_VERSION 37
   306 -#define MCABBER_API_MIN     37
   306 -#define MCABBER_API_MIN     37
   307 +#define MCABBER_API_VERSION 38
   307 +#define MCABBER_API_VERSION 38
   308 +#define MCABBER_API_MIN     38
   308 +#define MCABBER_API_MIN     38
   309  
   309  
   310  #define MCABBER_BRANCH_EXPERIMENTAL 1
   310  #define MCABBER_BRANCH_EXPERIMENTAL 1
   311  
   311  
   312 diff -r d56e2f8b2e83 mcabber/mcabber/commands.c
   312 diff -r 4f3a07b6b0e0 mcabber/mcabber/commands.c
   313 --- a/mcabber/mcabber/commands.c	Thu Oct 18 13:43:18 2012 +0300
   313 --- a/mcabber/mcabber/commands.c	Thu Oct 18 21:49:01 2012 +0300
   314 +++ b/mcabber/mcabber/commands.c	Thu Oct 18 13:44:57 2012 +0300
   314 +++ b/mcabber/mcabber/commands.c	Thu Oct 18 21:49:06 2012 +0300
   315 @@ -94,6 +94,7 @@
   315 @@ -94,6 +94,7 @@
   316  static void do_otrpolicy(char *arg);
   316  static void do_otrpolicy(char *arg);
   317  static void do_echo(char *arg);
   317  static void do_echo(char *arg);
   318  static void do_module(char *arg);
   318  static void do_module(char *arg);
   319 +static void do_exit(char *arg);
   319 +static void do_exit(char *arg);
   352 +  }
   352 +  }
   353 +  mcabber_set_terminate_ui();
   353 +  mcabber_set_terminate_ui();
   354 +}
   354 +}
   355 +
   355 +
   356  /* vim: set expandtab cindent cinoptions=>2\:2(0 sw=2 ts=2:  For Vim users... */
   356  /* vim: set expandtab cindent cinoptions=>2\:2(0 sw=2 ts=2:  For Vim users... */
   357 diff -r d56e2f8b2e83 mcabber/mcabber/main.c
   357 diff -r 4f3a07b6b0e0 mcabber/mcabber/main.c
   358 --- a/mcabber/mcabber/main.c	Thu Oct 18 13:43:18 2012 +0300
   358 --- a/mcabber/mcabber/main.c	Thu Oct 18 21:49:01 2012 +0300
   359 +++ b/mcabber/mcabber/main.c	Thu Oct 18 13:44:57 2012 +0300
   359 +++ b/mcabber/mcabber/main.c	Thu Oct 18 21:49:06 2012 +0300
   360 @@ -87,7 +87,7 @@
   360 @@ -87,7 +87,7 @@
   361  #ifndef MODULES_ENABLE
   361  #ifndef MODULES_ENABLE
   362    fifo_deinit();
   362    fifo_deinit();
   363  #endif
   363  #endif
   364 -  xmpp_disconnect();
   364 -  xmpp_disconnect();
   373 -  xmpp_disconnect();
   373 -  xmpp_disconnect();
   374 +  xmpp_disconnect(NULL);
   374 +  xmpp_disconnect(NULL);
   375  #ifdef HAVE_GPGME
   375  #ifdef HAVE_GPGME
   376    gpg_terminate();
   376    gpg_terminate();
   377  #endif
   377  #endif
   378 diff -r d56e2f8b2e83 mcabber/mcabber/settings.c
   378 diff -r 4f3a07b6b0e0 mcabber/mcabber/settings.c
   379 --- a/mcabber/mcabber/settings.c	Thu Oct 18 13:43:18 2012 +0300
   379 --- a/mcabber/mcabber/settings.c	Thu Oct 18 21:49:01 2012 +0300
   380 +++ b/mcabber/mcabber/settings.c	Thu Oct 18 13:44:57 2012 +0300
   380 +++ b/mcabber/mcabber/settings.c	Thu Oct 18 21:49:06 2012 +0300
   381 @@ -372,7 +372,12 @@
   381 @@ -372,7 +372,12 @@
   382  // - if no message is found, return NULL
   382  // - if no message is found, return NULL
   383  const gchar *settings_get_status_msg(enum imstatus status)
   383  const gchar *settings_get_status_msg(enum imstatus status)
   384  {
   384  {
   385 -  const gchar *rstatus = settings_opt_get("message");
   385 -  const gchar *rstatus = settings_opt_get("message");
   399 -    default: // offline, invisible
   399 -    default: // offline, invisible
   400 +    default: // ?
   400 +    default: // ?
   401          break;
   401          break;
   402    }
   402    }
   403    return rstatus;
   403    return rstatus;
   404 diff -r d56e2f8b2e83 mcabber/mcabber/xmpp.c
   404 diff -r 4f3a07b6b0e0 mcabber/mcabber/xmpp.c
   405 --- a/mcabber/mcabber/xmpp.c	Thu Oct 18 13:43:18 2012 +0300
   405 --- a/mcabber/mcabber/xmpp.c	Thu Oct 18 21:49:01 2012 +0300
   406 +++ b/mcabber/mcabber/xmpp.c	Thu Oct 18 13:44:57 2012 +0300
   406 +++ b/mcabber/mcabber/xmpp.c	Thu Oct 18 21:49:06 2012 +0300
   407 @@ -884,7 +884,7 @@
   407 @@ -884,7 +884,7 @@
   408  
   408  
   409  static void _try_to_reconnect(void)
   409  static void _try_to_reconnect(void)
   410  {
   410  {
   411 -  xmpp_disconnect();
   411 -  xmpp_disconnect();
   438 -    xmpp_setstatus(offline, NULL, "", FALSE);
   438 -    xmpp_setstatus(offline, NULL, "", FALSE);
   439 +    xmpp_setstatus(offline, NULL, message, FALSE);
   439 +    xmpp_setstatus(offline, NULL, message, FALSE);
   440    }
   440    }
   441    if (lm_connection_is_open(lconnection))
   441    if (lm_connection_is_open(lconnection))
   442      lm_connection_close(lconnection, NULL);
   442      lm_connection_close(lconnection, NULL);
   443 diff -r d56e2f8b2e83 mcabber/mcabber/xmpp.h
   443 diff -r 4f3a07b6b0e0 mcabber/mcabber/xmpp.h
   444 --- a/mcabber/mcabber/xmpp.h	Thu Oct 18 13:43:18 2012 +0300
   444 --- a/mcabber/mcabber/xmpp.h	Thu Oct 18 21:49:01 2012 +0300
   445 +++ b/mcabber/mcabber/xmpp.h	Thu Oct 18 13:44:57 2012 +0300
   445 +++ b/mcabber/mcabber/xmpp.h	Thu Oct 18 21:49:06 2012 +0300
   446 @@ -37,7 +37,7 @@
   446 @@ -37,7 +37,7 @@
   447  
   447  
   448  void xmpp_init(void); /* private */
   448  void xmpp_init(void); /* private */
   449  int  xmpp_connect(void);
   449  int  xmpp_connect(void);
   450 -void xmpp_disconnect(void);
   450 -void xmpp_disconnect(void);
   451 +void xmpp_disconnect(const char *message);
   451 +void xmpp_disconnect(const char *message);
   452  gboolean xmpp_is_online(void);
   452  gboolean xmpp_is_online(void);
   453  
   453  
   454  void xmpp_room_join(const char *room, const char *nickname, const char *passwd);
   454  void xmpp_room_join(const char *room, const char *nickname, const char *passwd);
   455 diff -r d56e2f8b2e83 mcabber/mcabberrc.example
   455 diff -r 4f3a07b6b0e0 mcabber/mcabberrc.example
   456 --- a/mcabber/mcabberrc.example	Thu Oct 18 13:43:18 2012 +0300
   456 --- a/mcabber/mcabberrc.example	Thu Oct 18 21:49:01 2012 +0300
   457 +++ b/mcabber/mcabberrc.example	Thu Oct 18 13:44:57 2012 +0300
   457 +++ b/mcabber/mcabberrc.example	Thu Oct 18 21:49:06 2012 +0300
   458 @@ -358,6 +358,9 @@
   458 @@ -358,6 +358,9 @@
   459  #set message_notavail  = I'm not available
   459  #set message_notavail  = I'm not available
   460  #set message_away      = I'm away
   460  #set message_away      = I'm away
   461  #
   461  #
   462 +# Default offline message will not be overridden by 'message'.
   462 +# Default offline message will not be overridden by 'message'.