Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallback to use API for getting channel data when not in the cache #490

Merged
merged 1 commit into from
Nov 6, 2022

Conversation

hloeung
Copy link
Collaborator

@hloeung hloeung commented Nov 4, 2022

Fixes #479

@hloeung hloeung mentioned this pull request Nov 4, 2022
@hloeung hloeung marked this pull request as ready for review November 4, 2022 10:33
@hloeung hloeung marked this pull request as draft November 4, 2022 11:25
@hloeung
Copy link
Collaborator Author

hloeung commented Nov 4, 2022

Pushed a fix which also fixes this:

ERRO[2022-11-04T09:39:21Z] didn't find channel ggy... (ggy...): channel not found  module=matterircd

Likely due to the same issue where page limit isn't obeyed so not present in the cache. This is not really a fix but more a workaround. Untested, will do more testing tomorrow (it's late here).

@hloeung hloeung changed the title Fallback to use API for getting channel ID when not in the cache Fallback to use API for getting channel data when not in the cache Nov 4, 2022
@hloeung
Copy link
Collaborator Author

hloeung commented Nov 5, 2022

#491, I think we should still have this as a fallback, but your call.

@42wim
Copy link
Owner

42wim commented Nov 5, 2022

Yes a fallback is a good idea, will add this after matterbridge/matterclient#1 merges

@42wim
Copy link
Owner

42wim commented Nov 6, 2022

Can you rebase on master? vendor has been updated

@hloeung
Copy link
Collaborator Author

hloeung commented Nov 6, 2022

Sure, working on that now.

Apologies for the mess with the various PRs. Will be more careful and neater next time.

@hloeung
Copy link
Collaborator Author

hloeung commented Nov 6, 2022

Ok, done. Also pushed up a drive-by fix from #491

@42wim 42wim added this to the 0.26.1 milestone Nov 6, 2022
@42wim
Copy link
Owner

42wim commented Nov 6, 2022

Apologies for the mess with the various PRs. Will be more careful and neater next time.

No apologies needed though :)
LGTM

@42wim 42wim merged commit 2dcbc00 into 42wim:master Nov 6, 2022
@hloeung hloeung deleted the fix-joining branch November 6, 2022 19:58
@hloeung
Copy link
Collaborator Author

hloeung commented Nov 6, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to /join a public channel or /part any channel from IRC
2 participants