Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Require ID and as_token be unique for ASs #496

Merged
merged 1 commit into from
Jan 14, 2016
Merged

Require ID and as_token be unique for ASs #496

merged 1 commit into from
Jan 14, 2016

Conversation

illicitonion
Copy link
Contributor

Defaults ID to as_token if not specified. This will change
when IDs are fully supported.

if appservice.id in seen_ids:
raise ConfigError(
"Cannot reuse ID across application services: %s" % (
appservice.id,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please log the file path which tried to use the ID, e.g. config_file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@kegsay
Copy link
Member

kegsay commented Jan 14, 2016

LGTM

Defaults ID to as_token if not specified. This will change
when IDs are fully supported.
illicitonion added a commit that referenced this pull request Jan 14, 2016
Require ID and as_token be unique for ASs

Defaults ID to as_token if not specified. This will change
when IDs are fully supported.
@illicitonion illicitonion merged commit 2c76037 into develop Jan 14, 2016
@illicitonion illicitonion deleted the daniel/3 branch January 28, 2016 13:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants