Permalink
Browse files

Merge branch 'MDL-39398-23' of git://github.com/FMCorz/moodle into MO…

…ODLE_23_STABLE
  • Loading branch information...
2 parents e46515b + 81d6802 commit d0fc4cf5394868c3aad35648145eb5f585342930 Sam Hemelryk committed Apr 29, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 message/output/jabber/message_output_jabber.php
@@ -73,6 +73,9 @@ function send_message($eventdata){
$conn = new XMPPHP_XMPP($CFG->jabberhost,$CFG->jabberport,$CFG->jabberusername,$CFG->jabberpassword,'moodle',$CFG->jabberserver);
+ // No need to track the presence during the sending message process.
+ $conn->track_presence = false;
+
try {
//$conn->useEncryption(false);
$conn->connect();

0 comments on commit d0fc4cf

Please sign in to comment.