Import Debian changes 1.23-1.1
[cascardo/sendxmpp.git] / debian / patches / bug-710285-message-type-normal.diff
diff --git a/debian/patches/bug-710285-message-type-normal.diff b/debian/patches/bug-710285-message-type-normal.diff
new file mode 100644 (file)
index 0000000..c65fbbf
--- /dev/null
@@ -0,0 +1,22 @@
+From: Helmut Grohne <helmut@subdivi.de>
+Subject: restore the ability to send normal messages
+Bug-Debian: https://bugs.debian.org/710285
+Last-Modified: 2013-05-29
+
+The lenny package could send these messages and version 1.20-1 dropped this
+functionality. Normal messages are like headline messages except they are not
+discarded when the contact is unavailable but queued instead.
+
+Index: sendxmpp-1.23/sendxmpp
+===================================================================
+--- sendxmpp-1.23.orig/sendxmpp        2012-10-28 13:48:19.000000000 +0100
++++ sendxmpp-1.23/sendxmpp     2014-10-13 14:16:23.000000000 +0200
+@@ -47,7 +47,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!