Make SlackThreadChannel.members a property
SlackChannel.members is overwritten in set_members and user_joined, so
it could become stale when it was an attribute.
@@ -2263,11 +2263,14 @@ class SlackThreadChannel(SlackChannelCommon):
self.type = "thread"
self.got_history = False
self.label = None
- self.members = self.parent_message.channel.members
self.team = self.parent_message.team
self.last_line_from = None
self.new_messages = False
+ @property
+ def members(self):
+ return self.parent_message.channel.members
+
@property
def last_read(self):
return self.parent_message.last_read
