summaryrefslogtreecommitdiffstats
path: root/network/sendxmpp/patches/01.patch
blob: 59b85c0bb0c9e95e317300888e7b36592b46f00d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Restore the ability to send normal messages.
By Helmut Grohne <helmut@subdivi.de>, 2013-05-29

Normal messages are like headline messages except they are not discarded
when the contact is unavailable but queued instead.

See https://bugs.debian.org/710285

--- a/sendxmpp
+++ b/sendxmpp
@@ -49,7 +49,7 @@
 my $VERBOSE  = 0;
 my $DEBUG    = 0;
 # http://tools.ietf.org/html/rfc3921#section-2  section 2.1.1 - Types of Message
-my @suppported_message_types	= qw( chat error groupchat headline );
+my @suppported_message_types	= qw( chat error groupchat headline normal);
 my $message_type				= 'chat'; # default message type
 
 # start!
@@ -642,9 +642,9 @@
 
 Backward compatibility option. You should use B<--message-type=headline> instead. Send a headline type message (not stored in offline messages)
 
-=item B<--messages-type>
+=item B<--message-type>
 
-Set type of message. Supported types are: B<message chat headline>. Default message type is B<message>. Headline type message can be set also with B<--headline> option, see B<--headline>
+Set type of message. Supported types are: B<chat error groupchat headline normal>. Default message type is B<chat>. Headline type message can be set also with B<--headline> option, see B<--headline>
 
 =item B<-c>,B<--chatroom>