Changeset 5f3168a for perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
- Timestamp:
- Feb 18, 2008, 9:07:22 PM (17 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- b70d24f
- Parents:
- 680ed23 (diff), 9d2f010 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
ree310eb r5f3168a 118 118 BarnOwl::error("Connection for $jid undefined -- error in reload?"); 119 119 } 120 120 # We keep this in the mainloop hook for keep-alives 121 121 my $status = $client->Process(0); 122 122 if ( !defined($status) ) { … … 126 126 if ($::shutdown) { 127 127 do_logout($jid); 128 return; 129 } 128 next; 129 } 130 130 131 if ($vars{status_changed}) { 131 132 my $p = new Net::Jabber::Presence; … … 389 390 $conn->renameConnection($jidStr, $fullJid); 390 391 queue_admin_msg("Connected to jabber as $fullJid"); 392 # The remove_dispatch() method is called from the 393 # ConnectionManager's removeConnection() method. 394 $client->{fileno} = $client->getSocket()->fileno(); 395 #queue_admin_msg("Connected to jabber as $fullJid ($client->{fileno})"); 396 BarnOwl::add_dispatch($client->{fileno}, sub { $client->OwlProcess() }); 391 397 } 392 398 }
Note: See TracChangeset
for help on using the changeset viewer.