Changeset 7c5d060 for perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
- Timestamp:
- May 19, 2010, 10:33:40 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 5e24227
- Parents:
- 3aa0522
- git-author:
- Anders Kaseorg <andersk@mit.edu> (05/19/10 18:43:59)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (05/19/10 22:33:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/Jabber/lib/BarnOwl/Module/Jabber.pm
rebfcc87 r7c5d060 1225 1225 $completion_jids{$room} = 1; 1226 1226 1227 my $muc; 1228 if ($dir eq 'in') { 1229 my $connection = $conn->getConnectionFromSid($props{sid}); 1230 $muc = $connection->FindMUC(jid => $from); 1231 } else { 1232 my $connection = $conn->getConnectionFromJID($props{from}); 1233 $muc = $connection->FindMUC(jid => $to); 1234 } 1235 $props{from} = $muc->GetFullJID($from) || $nick || $room; 1227 1236 $props{sender} = $nick || $room; 1228 1237 $props{recipient} = $room;
Note: See TracChangeset
for help on using the changeset viewer.