I am adding a some custom keys to my message content while sending event, now when I get the message in my onTimeLineUpdated Listener there the custom keys are getting removed if the message is a reply to another message.
For eg :-
I am replying to a message with custom key as attachment which is list of custom data type.
Here's my json which I send :-
Now, when I get this in onTimelinUpdate it removes attachments key from the object but when I try to get the TimeLineEvent with :- roomService?.getRoom(roomId)?.getTimelineEvent(id) it gives me all the things in my response.
Also in my message if I change m.relates_to to any other key like m.attachment_relates_to then it works and give all the things as expected.
It only happens in Android Sdk, other then that iOS, Web and others work fine.
Description
I am adding a some custom keys to my message content while sending event, now when I get the message in my
onTimeLineUpdated Listener
there the custom keys are getting removed if the message is a reply to another message.For eg :- I am replying to a message with custom key as
attachment
which is list of custom data type. Here's my json which I send :-Now, when I get this in
onTimelinUpdate
it removesattachments
key from the object but when I try to get the TimeLineEvent with :-roomService?.getRoom(roomId)?.getTimelineEvent(id)
it gives me all the things in my response.Also in my message if I change
m.relates_to
to any other key likem.attachment_relates_to
then it works and give all the things as expected.It only happens in Android Sdk, other then that iOS, Web and others work fine.