Hipchat-CS icon indicating copy to clipboard operation
Hipchat-CS copied to clipboard

ViewRoomHistory and ViewRecentRoomHistory are not able to handle the "from" attribute in cases where it is passed as a user object

Open frankneumann opened this issue 10 years ago • 0 comments

ViewRoomHistory and ViewRecentRoomHistory are not able to handle the "from" attribute in cases where it is passed as a user object:

I am trying to fix an issue related to the specifics of the HIPChat API View room history and View recent room history:

Here, the “from” attribut may be either a user or just a string containing the name of the user. I tried several options to handle this duality using the ServiceStack configuration but could not figure out an elegant way of solving this issue for the deserialization of the HipchatViewRoomHistoryResponse.

What is your recommendation to solve this issue?

Best regards,

Frank

frankneumann avatar Feb 14 '15 07:02 frankneumann