]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
commit queries in xmppdaemon::add_notice
authorEvan Prodromou <evan@controlezvous.ca>
Thu, 26 Jun 2008 07:12:13 +0000 (03:12 -0400)
committerEvan Prodromou <evan@controlezvous.ca>
Thu, 26 Jun 2008 07:12:13 +0000 (03:12 -0400)
darcs-hash:20080626071213-34904-aefba28162aa3afb1b3e8152ee8210fe3108b841.gz

xmppdaemon.php

index c32462e17e1b103e9690312d37f09eb151c24f6c..1039407b3650731868cc1432e51b00166689b00f 100644 (file)
@@ -148,6 +148,7 @@ class XMPPDaemon {
                                           ': ' . $last_error->message);
                        return;
                }
+               $notice->query('COMMIT');
                common_broadcast_notice($notice);
                $this->log(LOG_INFO,
                                   'Added notice ' . $notice->id . ' from user ' . $user->nickname);