- await client.room_send(
- room_id=self._joined_room_id,
- message_type="m.room.message",
- content={
- "msgtype": "m.text",
- "body": msgBytes.decode("UTF-8")
- }
- )
+ for content in self._input_parser.fetch_decoded():
+ await client.room_send(
+ room_id=self._joined_room_id,
+ message_type="m.room.message",
+ content=content
+ )