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

WIP: add tengo support when downloading files #1307

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

42wim
Copy link
Owner

@42wim 42wim commented Nov 22, 2020

Fixes #912

@@ -114,6 +118,62 @@ func GetAvatar(av map[string]string, userid string, general *config.Protocol) st
return ""
}

func handleDownloadTengo(br *bridge.Bridge, msg *config.Message, name string, size int64, general *config.Protocol) (bool, error) {
Copy link

Choose a reason for hiding this comment

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

Function handleDownloadTengo has 5 arguments (exceeds 4 allowed). Consider refactoring.

@codeclimate
Copy link

codeclimate bot commented Nov 22, 2020

Code Climate has analyzed commit c1c732b and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

View more on Code Climate.

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.

Mediaserver setup only allow pictures
1 participant