-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Benjamin Reed
committed
Feb 10, 2019
1 parent
566de10
commit 5b7d5eb
Showing
8 changed files
with
612 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"status": "ok", | ||
"seamail_threads": [ | ||
{ | ||
"id": "5c607d43ea204f5815755cda", | ||
"users": [ | ||
{ | ||
"username": "james", | ||
"display_name": "james", | ||
"last_photo_updated": 1549598100329 | ||
}, | ||
{ | ||
"username": "rob", | ||
"display_name": "Manager Rob", | ||
"last_photo_updated": 1549826231532 | ||
}, | ||
{ | ||
"username": "kvort", | ||
"display_name": "kvort", | ||
"last_photo_updated": 1549827517608 | ||
} | ||
], | ||
"subject": "Meet up before the concert?", | ||
"messages": [ | ||
{ | ||
"id": "5c607d43ea204f5815755cdb", | ||
"author": { | ||
"username": "kvort", | ||
"display_name": "kvort", | ||
"last_photo_updated": 1549827517608 | ||
}, | ||
"text": "Maybe we can play a board game or something.", | ||
"timestamp": 1549827395180, | ||
"read_users": [ | ||
{ | ||
"username": "kvort", | ||
"display_name": "kvort", | ||
"last_photo_updated": 1549827517608 | ||
} | ||
] | ||
} | ||
], | ||
"message_count": 1, | ||
"timestamp": 1549827395180, | ||
"is_unread": false, | ||
"count_is_unread": false | ||
} | ||
], | ||
"last_checked": 1549838805902 | ||
} |
149 changes: 149 additions & 0 deletions
149
test/data/seamail_threads-exclude_read_messages-true.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
{ | ||
"status": "ok", | ||
"seamail_threads": [ | ||
{ | ||
"id": "5c607d43ea204f5815755cda", | ||
"users": [ | ||
{ | ||
"username": "james", | ||
"display_name": "james", | ||
"last_photo_updated": 1549598100329 | ||
}, | ||
{ | ||
"username": "rob", | ||
"display_name": "Manager Rob", | ||
"last_photo_updated": 1549826231532 | ||
}, | ||
{ | ||
"username": "kvort", | ||
"display_name": "kvort", | ||
"last_photo_updated": 1549827517608 | ||
} | ||
], | ||
"subject": "Meet up before the concert?", | ||
"messages": [], | ||
"message_count": 1, | ||
"timestamp": 1549827395180, | ||
"is_unread": false, | ||
"count_is_unread": false | ||
}, | ||
{ | ||
"id": "5c5cfd9f1fca877544f927da", | ||
"users": [ | ||
{ | ||
"username": "kvort", | ||
"display_name": "kvort", | ||
"last_photo_updated": 1549827517608 | ||
}, | ||
{ | ||
"username": "james", | ||
"display_name": "james", | ||
"last_photo_updated": 1549598100329 | ||
}, | ||
{ | ||
"username": "steve", | ||
"display_name": "steve", | ||
"last_photo_updated": 1549598100329 | ||
} | ||
], | ||
"subject": "artemis?", | ||
"messages": [ | ||
{ | ||
"id": "5c5cfd9f1fca877544f927dc", | ||
"author": { | ||
"username": "james", | ||
"display_name": "james", | ||
"last_photo_updated": 1549598100329 | ||
}, | ||
"text": "Awesome!", | ||
"timestamp": 1549531800000, | ||
"read_users": [ | ||
{ | ||
"username": "james", | ||
"display_name": "james", | ||
"last_photo_updated": 1549598100329 | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "5c5cfd9f1fca877544f927db", | ||
"author": { | ||
"username": "steve", | ||
"display_name": "steve", | ||
"last_photo_updated": 1549598100329 | ||
}, | ||
"text": "We should go to the game room and play artemis at 15:00!", | ||
"timestamp": 1549531380000, | ||
"read_users": [ | ||
{ | ||
"username": "steve", | ||
"display_name": "steve", | ||
"last_photo_updated": 1549598100329 | ||
} | ||
] | ||
} | ||
], | ||
"message_count": 2, | ||
"timestamp": 1549531800000, | ||
"is_unread": true, | ||
"count_is_unread": false | ||
}, | ||
{ | ||
"id": "5c5cfd9f1fca877544f927d6", | ||
"users": [ | ||
{ | ||
"username": "kvort", | ||
"display_name": "kvort", | ||
"last_photo_updated": 1549827517608 | ||
}, | ||
{ | ||
"username": "james", | ||
"display_name": "james", | ||
"last_photo_updated": 1549598100329 | ||
} | ||
], | ||
"subject": "Hey lets meet up", | ||
"messages": [ | ||
{ | ||
"id": "5c5cfd9f1fca877544f927d9", | ||
"author": { | ||
"username": "james", | ||
"display_name": "james", | ||
"last_photo_updated": 1549598100329 | ||
}, | ||
"text": "Sounds great to me!", | ||
"timestamp": 1549528080000, | ||
"read_users": [ | ||
{ | ||
"username": "james", | ||
"display_name": "james", | ||
"last_photo_updated": 1549598100329 | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "5c5cfd9f1fca877544f927d7", | ||
"author": { | ||
"username": "james", | ||
"display_name": "james", | ||
"last_photo_updated": 1549598100329 | ||
}, | ||
"text": "How about at 10:30?", | ||
"timestamp": 1549527780000, | ||
"read_users": [ | ||
{ | ||
"username": "james", | ||
"display_name": "james", | ||
"last_photo_updated": 1549598100329 | ||
} | ||
] | ||
} | ||
], | ||
"message_count": 3, | ||
"timestamp": 1549528080000, | ||
"is_unread": true, | ||
"count_is_unread": false | ||
} | ||
], | ||
"last_checked": 1549838851518 | ||
} |
Oops, something went wrong.