Commit 953f04fe authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Always prefix etherpad links with the default identifier

parent 1c2c74f7
......@@ -230,7 +230,7 @@ class Protocol(DatabaseModel):
return self.pad_identifier
identifier = self.get_identifier()
if self.protocoltype.non_reproducible_pad_links:
identifier = str(uuid4())
identifier = "{}-{}".format(identifier, str(uuid4()))
self.pad_identifier = identifier
return get_etherpad_url(identifier)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment