zem / qtc-net

A short telegram sytem for Amateur Radio
Other
5 stars 0 forks source link

trustlevel handling is incomplete. you should be able to revise your trust.... #58

Open zem opened 9 years ago

zem commented 9 years ago

sub import_trust { my $obj=shift; my $msg=shift; $obj->verify_signature($msg);
if ( $msg->checksum_period ) { die "I dont know how to deal with ".$msg->type." and checksum_period \n"; }

# TODO write some trustmessage exchange code here if there already is a to call trust.... 

$msg->link_to_path($obj->{root}."/call/".$msg->escaped_call."/trust");

$msg->link_to_path($obj->{root}."/out");