Changeset 2149

Show
Ignore:
Timestamp:
01/29/07 16:59:41
Author:
miyagawa
Message:

update ticket handling for room.* methods

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • POE-Component-Client-Lingr/trunk/lib/POE/Component/Client/Lingr.pm

    r2148 r2149  
    130130    } 
    131131 
     132    if ($data->{ticket}) { 
     133        $heap->{ticket} = $data->{ticket}; 
     134    } 
     135 
    132136    $kernel->yield(notify => $method, $data); 
    133137} 
     
    221225    $args->{format} = 'json'; 
    222226 
     227    if ($method =~ /^room\./ && $heap->{ticket}) { 
     228        $args->{ticket} = $heap->{ticket}; 
     229    } 
     230 
    223231    if ($heap->{session}) { 
    224232        $args->{session} = $heap->{session};