Revision: 785
http://svn.sourceforge.net/phpfreechat/?rev=785&view=rev
Author: kerphi
Date: 2006-09-22 05:47:39 -0700 (Fri, 22 Sep 2006)
Log Message:
-----------
Bug fix: private message was broken
Modified Paths:
--------------
trunk/src/commands/privmsg.class.php
Modified: trunk/src/commands/privmsg.class.php
===================================================================
--- trunk/src/commands/privmsg.class.php 2006-09-22 12:40:08 UTC (rev 784)
+++ trunk/src/commands/privmsg.class.php 2006-09-22 12:47:39 UTC (rev 785)
@@ -82,6 +82,10 @@
$from_id_sid = "pfc_from_id_".$c->getId()."_".$clientid."_".$pvrecipientid;
$from_id = $container->getLastId($pvrecipient)-$c->max_msg;
$_SESSION[$from_id_sid] = ($from_id<0) ? 0 : $from_id;
+
+ // register the user (and his metadata) in this pv
+ $ct =& $c->getContainerInstance();
+ $ct->createNick($pvrecipient, $u->nick, $u->nickid);
}
// return ok to the client
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|