Explorar o código

Fix another field

Tulir Asokan %!s(int64=3) %!d(string=hai) anos
pai
achega
85265c3fb7
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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