Skip to content

telepathyClient: Use proper Objects to wrap different tpl messages

In telepathyClient we consider messages both Tpl.Events and Tpl.Messages, and we manually create JS objects to copy the properties we care for each one. This may lead to objects not matching the interface we want, other than we can just avoid copying the values.

Instead, use a base class to abstract a ChatMessage and implement it for each subtype we have.

!1113 (merged)

Merge request reports