6 Einträge, 1 Seite |
1
2
master:/usr/share/doc/libnet-jabber-loudmouth-perl/examples# perl lm-test.pl master.space-server.org space24 pwxx
FATAL: invalid enum LmMessageType value Net::Jabber::Loudmouth::MessageHandler=SCALAR(0x8215b14), expecting: message / LM_MESSAGE_TYPE_MESSAGE, presence / LM_MESSAGE_TYPE_PRESENCE, iq / LM_MESSAGE_TYPE_IQ, stream / LM_MESSAGE_TYPE_STREAM, stream-error / LM_MESSAGE_TYPE_STREAM_ERROR, unknown / LM_MESSAGE_TYPE_UNKNOWN at lm-test.pl line 20.
1 2
my $handler = Net::Jabber::Loudmouth::MessageHandler->new(\&handle_message); $connection->register_message_handler($handler, 'message', 'normal');
6 Einträge, 1 Seite |