Fix ThreadLocation to work with new GraphQL

This commit is contained in:
2FWAH
2018-02-22 17:49:26 +01:00
committed by GitHub
parent 900a9cdf72
commit a051adcbc0

View File

@@ -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"""