Skip to content

Chat list models

Dariusz Rybicki requested to merge feature/db-models-3 into main
  • Enable building and running tests on macOS.
  • Refactor GRDB associations.
  • Merge fetch sorting order type into fetch query type.
  • Add ContactChatInfo model.
  • Refactor generic fetch and fetch publisher operations so it accepts any fetch request type.
  • Fetch ContactChatInfo including the latest message sent to or received from the contact.
  • Fetch unread messages count for ContactChatInfo model.
  • Add GroupChatInfo model.
  • Fetch GroupChatInfo including the latest message exchanged in the group.
  • Fetch unread messages count for GroupChatInfo model.
  • Add ChatInfo model (representing either ContactChatInfo or GroupChatInfo).
  • Implement database fetches for ChatInfo model.
  • Improve foreign keys for Message model.
  • Fetch Group with messages, without messages or all (with and without messages).
  • Add ChatInfo.group representing a group without messages.
Edited by Dariusz Rybicki

Merge request reports

Loading