Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
only add new filter when not existent prevoisly #2219
Conversation
matrixbot
commented
May 11, 2017
|
Can one of the admins verify this patch? |
matrixbot
commented
May 11, 2017
|
Can one of the admins verify this patch? |
matrixbot
commented
May 11, 2017
|
Can one of the admins verify this patch? |
|
I don't think @matrixbot ok to test |
|
I thought it would be good to check for the same dict that would get
inserted later if the filter does not exist.
Or do you think to replace `json.dumps` with another function in this
step as well?
…
|
|
Yeah, I'd replace |
|
(I like and approve of the idea though!) |
|
I would replace |
krombel
added some commits
Jun 21, 2017
erikjohnston
merged commit 71995e1
into
matrix-org:develop
Jun 21, 2017
|
Thanks! |
krombel commentedMay 11, 2017
To avoid more filters then really needed I would like to have unique filters.
What do you think of to check before adding the new filter if we not have already have one with the same definition?