Skip Menu |

This queue is for tickets about the Net-Async-Matrix CPAN distribution.

Report information
The Basics
Id: 129845
Status: new
Priority: 0/
Queue: Net-Async-Matrix

Owner: Nobody in particular
Requestors: grin [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: on_read_receipt content is not json_decoded
Date: Tue, 18 Jun 2019 12:49:12 +0200
To: bug-Net-Async-Matrix [...]
From: grin <grin [...]>
Download (untitled) / with headers
text/plain 653b
Hello, Your example chokes on on_read_receipt => sub { my ( $room, $member, $event_id, $content ) = @_; use Data::Dumper; &d("read rcpt;" . Dumper(\%NO, $room, $member, $event_id, $content)); return if $NO{receipt}; print_event( read_receipt => { room_id => $room->room_id, user_id => $member->user->user_id, event_id => $event_id, ts => $content->{ts}, since $content is a json text, not a hashref. Can't use string ("{"ts": 1553441073484}") as a HASH ref while "strict refs" in use at ./ line 96. g

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to