From a051adcbc06da31f72019467e4b7a738b1eb277b Mon Sep 17 00:00:00 2001 From: 2FWAH <36737818+2FWAH@users.noreply.github.com> Date: Thu, 22 Feb 2018 17:49:26 +0100 Subject: [PATCH] Fix ThreadLocation to work with new GraphQL --- fbchat/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fbchat/models.py b/fbchat/models.py index ad90ea2..947d943 100644 --- a/fbchat/models.py +++ b/fbchat/models.py @@ -451,10 +451,10 @@ class ThreadType(Enum): class ThreadLocation(Enum): """Used to specify where a thread is located (inbox, pending, archived, other).""" - INBOX = 'inbox' - PENDING = 'pending' - ARCHIVED = 'action:archived' - OTHER = 'other' + INBOX = 'INBOX' + PENDING = 'PENDING' + ARCHIVED = 'ARCHIVED' + OTHER = 'OTHER' class TypingStatus(Enum): """Used to specify whether the user is typing or has stopped typing"""