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

@@ -141,3 +141,7 @@ class Thread(object):
else:
rtn["own_nickname"] = pc[1].get("nickname")
return rtn
def _to_send_data(self):
# TODO: Only implement this in subclasses
return {"other_user_fbid": self.uid}