Skip to content

[BUG] NameError: undefined local variable or method `recipient' for NewMessageNotifier:Class #505

Answered by excid3
mnifakram asked this question in Q&A
Discussion options

You must be logged in to vote

You can't use the recipient variable at the class level. You would use it inside a lambda that gets evaluated later on when it's being delivered.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mnifakram
Comment options

Answer selected by mnifakram
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #504 on November 16, 2024 20:17.