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

Prevent showing non-fed rooms in fed /publicRooms v2 #4746

Merged
merged 4 commits into from
Feb 26, 2019

Conversation

anoadragon453
Copy link
Member

@anoadragon453 anoadragon453 commented Feb 26, 2019

This is another instance of #4736 but with rewritten commits in order to reduce merge conflicts on the dinsic branch.

New PR for the dinsic branch is at #4747

@anoadragon453 anoadragon453 changed the title Anoa/public rooms federate develop Prevent showing non-fed rooms in fed /publicRooms v2 Feb 26, 2019
@codecov
Copy link

codecov bot commented Feb 26, 2019

Codecov Report

Merging #4746 into develop will increase coverage by 0.01%.
The diff coverage is 28.57%.

@@             Coverage Diff             @@
##           develop    #4746      +/-   ##
===========================================
+ Coverage     75.1%   75.12%   +0.01%     
===========================================
  Files          340      340              
  Lines        34853    34860       +7     
  Branches      5709     5711       +2     
===========================================
+ Hits         26177    26187      +10     
+ Misses        7066     7058       -8     
- Partials      1610     1615       +5

@cachedInlineCallbacks(num_args=1, cache_context=True)
def generate_room_entry(self, room_id, num_joined_users, cache_context,
with_alias=True, allow_private=False):
@cachedInlineCallbacks(num_args=2, cache_context=True)
Copy link
Member

Choose a reason for hiding this comment

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

This should be kept at num_args=1 if we're not adding a parameter.

In fact, why is there a change in the function def here (other than docstring, yay!) at all?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, left over cruft from adding in an arg then taking it away again. Tis set back now.

@anoadragon453 anoadragon453 force-pushed the anoa/public_rooms_federate_develop branch from 4db145f to 802884d Compare February 26, 2019 14:23
@anoadragon453 anoadragon453 merged commit 4dc945b into develop Feb 26, 2019
@erikjohnston erikjohnston deleted the anoa/public_rooms_federate_develop branch March 6, 2019 17:32
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