Skip to content

disable_photo is not respected if enable_qr is on #59

@Henriquelay

Description

@Henriquelay

if not photo_enabled and not qr_enabled:
return

In a group, I want to have qr code setting on and the bot would reply to a photo only if a qr code is detected, staying silent otherwise. I believe this is an expected behavior.

Similarly, and based on these lines of code, there also seems to be a problem for image OCR on and QR code off: it would still send QR code parsing results in a chat where only OCR is desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions