This change makes the data representation for messages consistent. They are always dictionaries.
Dictionaries were chosen over tuples because we need the flexibility of including the id field for messages from the db. That is needed so we can delete sent messages from the db after sending them.
This change makes the data representation for messages consistent. They are always dictionaries.
Dictionaries were chosen over tuples because we need the flexibility of including the id field for messages from the db. That is needed so we can delete sent messages from the db after sending them.
Fixes: https://pagure.io/koji/issue/2841
Fixes: https://pagure.io/koji/issue/2846