|
|
@ -402,7 +402,8 @@ class Connection(NetworkBase): |
|
|
|
resource = '/statuses/destroy/%s.json' % (message) |
|
|
|
resource = '/statuses/destroy/%s.json' % (message) |
|
|
|
response = self._request(resource, body=body) |
|
|
|
response = self._request(resource, body=body) |
|
|
|
_log.debug('Delete response: %s', response) |
|
|
|
_log.debug('Delete response: %s', response) |
|
|
|
return response |
|
|
|
return True # Either we get a response or an exception before we reach |
|
|
|
|
|
|
|
# this. |
|
|
|
|
|
|
|
|
|
|
|
def can_delete(self, message): |
|
|
|
def can_delete(self, message): |
|
|
|
"""Check if the message belongs to the user. If so, returns True; |
|
|
|
"""Check if the message belongs to the user. If so, returns True; |
|
|
|