feat: add message storage and fetching api #21
Loading…
Reference in a new issue
No description provided.
Delete branch "message-history"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implementation details:
A new
SAVE_MESSAGES
gateway connection attribute was added. If a user has this attribute set, all messages sent by them will be saved unencrypted :( in the database.An endpoint to fetch messages has been added, however, it only covers the usecase of paging in the desktop app. You specifiy a
channel
and a field calledbefore
(get messages before this channel id)TODOs:
allowSavingMessages
policy and remove SAVE_MESSAGES attribute, as well as change HELLO packet 1008e68d54draft: feat: add message storage and fetching apito feat: add message storage and fetching apiAlthough not all of the TODOs in this pull request have been fulfilled, I will merge it now. All remaning TODOs will be superseded by an issue in the issue tracker.