NADEE-MJ / fax_app_cli

GNU General Public License v3.0
0 stars 0 forks source link

Add syncing with server and retrieving new and past messages from the server. #19

Closed NADEE-MJ closed 2 years ago

NADEE-MJ commented 2 years ago

Description

  1. rearranged the directory structure to make a little more sense
  2. added initialSync, sync, and getMessages to user class
    1. they all perform api calls and then fall back on methods in the hive data models to store the data locally
  3. added hive db to store user information which replaces the previous implementation with json files for storage
    1. added messsage, event, state_event, room, and user info hive models which store information about the previously mentioned items
  4. updated requester get method to now be able to send a json payload

Checklist

Please check the type of change your PR introduces