make sure we send the log xid in outbound messages
[OpenSRF.git] / src / perl / lib / OpenSRF / Transport / SlimJabber / Client.pm
index ed3d5a0..0fb520c 100644 (file)
@@ -112,6 +112,7 @@ sub tcp_connected {
 sub send {
        my $self = shift;
     my $msg = OpenSRF::Transport::SlimJabber::XMPPMessage->new(@_);
+    $msg->osrf_xid($logger->get_osrf_xid);
     $self->reader->send($msg->to_xml);
 }