ryco117 / distort-server

A reference-implementation homeserver for the research anonymity protocol, DistoRt, with broadcasting over IPFS
https://ryco117.github.io/distort-server/
GNU General Public License v3.0
3 stars 1 forks source link

Create "conversations" model #5

Closed ryco117 closed 5 years ago

ryco117 commented 5 years ago

Currently all in/out messages that belong to the same anonymity group are retrieved together from the database. However, practical usage of messaging applications suggests that most uses cases would prefer to retrieve messages to/from a specific peer in a given group. Thus, a "conversation" should be a back-and-forth exchange with a specified peer in a specified group, and the database and REST API should be constructed around supporting retrieval of conversation operations quickly and easily.

ryco117 commented 5 years ago

Fixed at commit dc44de62abea027787a378036620a0b651e6fd73 as part of database restructuring.