Comment 5 for bug 1203845

Revision history for this message
Julien Spautz (julien-spautz) wrote :

Just some help on how to implement this properly.

We should share as much code between normal channels and private chats. We need to create a base class for them (e.g. Chat, Conversation...) and derive Channel and PrivateChat from that base class. All shared code goes into the base class (obviously).

This has to be done in /src/Controller, /src/View, and /src/Widgets.

I'll have a look at this when I'm back to make sure we don't have unnecessary redundancy or bad OOP design in the code.