[415] in BarnOwl Developers
[D-O-H] r548 - in trunk/owl: . perl/modules
daemon@ATHENA.MIT.EDU (asedeno@MIT.EDU)
Thu Oct 29 18:05:54 2009
Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
To: dirty-owl-hackers@mit.edu
From: asedeno@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Mon, 22 Jan 2007 20:03:10 -0500 (EST)
Author: asedeno
Date: 2007-01-22 20:03:10 -0500 (Mon, 22 Jan 2007)
New Revision: 548
Modified:
trunk/owl/BUGS
trunk/owl/perl/modules/jabber.pl
Log:
Fixing the jwrite from gtalk bug . We were setting the from attribute
in outbound messages, but google appends some random crap to the end
of our resource and we're not aware of what it is, so we were sending
from not out resource.
Modified: trunk/owl/BUGS
===================================================================
--- trunk/owl/BUGS 2007-01-23 00:09:53 UTC (rev 547)
+++ trunk/owl/BUGS 2007-01-23 01:03:10 UTC (rev 548)
@@ -6,5 +6,4 @@
* Building barnowl on Athena and then running it on Linerva results in
sadness finding strict.pm apparently related to having an incorrect
@INC. [kchen]
-* jwrite foo@gmail.com -a bar@gmail.com fails with error 400 [nygren]
* reply to resource names from ichat (foo's computer) fails badly [hartmans]
Modified: trunk/owl/perl/modules/jabber.pl
===================================================================
--- trunk/owl/perl/modules/jabber.pl 2007-01-23 00:09:53 UTC (rev 547)
+++ trunk/owl/perl/modules/jabber.pl 2007-01-23 01:03:10 UTC (rev 548)
@@ -941,6 +941,7 @@
BarnOwl::queue_message($m);
}
+ $j->RemoveFrom(); # Kludge to get around gtalk's random bits after the resouce.
if ($vars{jwrite}{sid} && $conn->sidExists( $vars{jwrite}{sid} )) {
$conn->getConnectionFromSid($vars{jwrite}{sid})->Send($j);
}