Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixxes EliasKotlyar#1470. Its an assignement issue: on Line 96, the variable messageVal is checked if empty, and if yes, messageAttr is set to "edited_message". Now on line 97, messageVal is always set to a json value, which may not be there. This line should actually be added to line 96 after it has been checked, it the messageVal is empty. This fix ensures that messageVal is only set to the json value of '.result[0].edited_message' if messageVal was empty before.
- Loading branch information