Fix for missing conversation messages

Previous logic produces incomplete conversations, since some messages have no dialog_partner. New approach is based on the assumption that only one conversation exists with exactly two participants, for each dialog partner. The complete conversation is therefore all messages associated with that conversation.