소스 검색

Fix another field

Tulir Asokan 3 년 전
부모
커밋
85265c3fb7
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      mauigpapi/types/thread.py

+ 2 - 1
mauigpapi/types/thread.py

@@ -54,7 +54,8 @@ class Thread(SerializableAttrs):
 
     last_activity_at: int
     muted: bool
-    is_pin: bool
+    # This seems to be missing in some cases
+    is_pin: bool = False
     named: bool
     canonical: bool
     pending: bool