mirror of https://github.com/zulip/zulip.git
Fix typo in zerver/lib/actions.py.
This commit is contained in:
parent
c800c87d2d
commit
95d059bfb3
|
@ -3043,8 +3043,8 @@ def do_get_streams(user_profile, include_public=True, include_subscribed=True,
|
|||
return streams
|
||||
|
||||
def do_claim_attachments(message):
|
||||
atttachment_url_re = re.compile('[/\-]user[\-_]uploads[/\.-].*?(?=[ )]|\Z)')
|
||||
attachment_url_list = atttachment_url_re.findall(message['message'].content)
|
||||
attachment_url_re = re.compile('[/\-]user[\-_]uploads[/\.-].*?(?=[ )]|\Z)')
|
||||
attachment_url_list = attachment_url_re.findall(message['message'].content)
|
||||
|
||||
results = []
|
||||
for url in attachment_url_list:
|
||||
|
|
Loading…
Reference in New Issue