소스 검색

Fix poll creation

Painor 1 년 전
부모
커밋
864552f59b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      gramjs/tl/custom/message.ts

+ 1 - 1
gramjs/tl/custom/message.ts

@@ -1042,7 +1042,7 @@ export class CustomMessage extends SenderGetter {
                         }
                     } else {
                         for (const answer of answers) {
-                            if (answer.text == text) {
+                            if (answer.text.text == text) {
                                 return [answer.option];
                             }
                         }