Use answer name as subject

This commit is contained in:
M66B
2019-08-11 14:27:43 +02:00
parent 5f0c13f34c
commit e28bf95149
3 changed files with 17 additions and 5 deletions

View File

@@ -298,7 +298,7 @@ public class EntityRule {
if (identity == null)
throw new IllegalArgumentException("Rule identity not found");
String body = EntityAnswer.getAnswerText(db, aid, message.from);
String body = EntityAnswer.getAnswerText(context, aid, message.from);
if (body == null)
throw new IllegalArgumentException("Rule answer not found");