Import Debian changes 1.23-1.1
[cascardo/sendxmpp.git] / debian / patches / bug-710285-message-type-normal.diff
1 From: Helmut Grohne <helmut@subdivi.de>
2 Subject: restore the ability to send normal messages
3 Bug-Debian: https://bugs.debian.org/710285
4 Last-Modified: 2013-05-29
5
6 The lenny package could send these messages and version 1.20-1 dropped this
7 functionality. Normal messages are like headline messages except they are not
8 discarded when the contact is unavailable but queued instead.
9
10 Index: sendxmpp-1.23/sendxmpp
11 ===================================================================
12 --- sendxmpp-1.23.orig/sendxmpp 2012-10-28 13:48:19.000000000 +0100
13 +++ sendxmpp-1.23/sendxmpp      2014-10-13 14:16:23.000000000 +0200
14 @@ -47,7 +47,7 @@
15  my $VERBOSE  = 0;
16  my $DEBUG    = 0;
17  # http://tools.ietf.org/html/rfc3921#section-2  section 2.1.1 - Types of Message
18 -my @suppported_message_types   = qw( chat error groupchat headline );
19 +my @suppported_message_types   = qw( chat error groupchat headline normal );
20  my $message_type                               = 'chat'; # default message type
21  
22  # start!