|
|
@ -233,3 +233,7 @@ class Networks(object): |
|
|
|
def can_repost(self, message): |
|
|
|
def can_repost(self, message): |
|
|
|
"""Return True if the message can be resposted; False otherwise.""" |
|
|
|
"""Return True if the message can be resposted; False otherwise.""" |
|
|
|
return self.networks[message.network].can_repost(message) |
|
|
|
return self.networks[message.network].can_repost(message) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: Function to return a regexp for usernames |
|
|
|
|
|
|
|
# TODO: Function to return a pre-message for replies (how to handle |
|
|
|
|
|
|
|
# dinamic content, like usernames?) |