|
|
|
@ -168,9 +168,16 @@ class Networks(object):
|
|
|
|
|
# If you pass a NetworkData object, we get the proper network |
|
|
|
|
network = reply_to.network |
|
|
|
|
|
|
|
|
|
results = [] |
|
|
|
|
for shortcut in self._targets(network): |
|
|
|
|
self.networks[shortcut].update(status, reply_to) |
|
|
|
|
return None |
|
|
|
|
results.append(self.networks[shortcut].update(status, reply_to)) |
|
|
|
|
return results |
|
|
|
|
|
|
|
|
|
def repost(self, message): |
|
|
|
|
"""Repost a message in the user's timeline. The network used is |
|
|
|
|
the same in the message.""" |
|
|
|
|
self.networks[message.network].repost(message) |
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
def delete_message(self, message, network=None): |
|
|
|
|
"""Delete an update. Message can be a NetworkData object, in which |
|
|
|
|