Move Client._getSendData into the Thread / Group models

This commit is contained in:
Mads Marquart
2019-08-28 17:39:57 +02:00
parent 5e86d4a48a
commit 1f342d0c71
3 changed files with 17 additions and 18 deletions

View File

@@ -104,6 +104,9 @@ class Group(Thread):
plan=plan,
)
def _to_send_data(self):
return {"thread_fbid": self.uid}
@attr.s(cmp=False, init=False)
class Room(Group):