Skip to content

Reactions can't be unmarshaled #24

@garymoon

Description

@garymoon

Hi!

It seems that when a message has reactions attached the client can't unmarshal it. I reliably get the following error when calling Rpc.GetMessage() (or Rpc.GetMessageReactions()) on such a message: json: cannot unmarshal array into Go struct field Reactions.Reactions.Reactions of type map[string]int.

  • Operating System (Linux/Mac/Windows/iOS/Android): Linux
  • Delta Chat Version: deltachat-rpc-server v1.137.1, and deltachat-rpc-client-go v1.134.0
  • Steps to reproduce the problem: Attempt a GetMessage() call on a message with reactions

Thank you for deltachat-rpc-client-go and deltabot-cli-go! 💙

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions