diff --git a/src/nitro/communication/messages/parser/help/IssueCloseNotificationMessageParser.ts b/src/nitro/communication/messages/parser/help/IssueCloseNotificationMessageParser.ts index 1053148c..b430e7c6 100644 --- a/src/nitro/communication/messages/parser/help/IssueCloseNotificationMessageParser.ts +++ b/src/nitro/communication/messages/parser/help/IssueCloseNotificationMessageParser.ts @@ -3,11 +3,12 @@ import { IMessageDataWrapper, IMessageParser } from '../../../../../core'; export class IssueCloseNotificationMessageParser implements IMessageParser { private _closeReason: number; + private _messageText: string; public flush(): boolean { this._closeReason = 0; - + this._messageText = ''; return true; } @@ -16,6 +17,7 @@ export class IssueCloseNotificationMessageParser implements IMessageParser if(!wrapper) return false; this._closeReason = wrapper.readInt(); + this._messageText = wrapper.readString(); return true; } @@ -24,4 +26,9 @@ export class IssueCloseNotificationMessageParser implements IMessageParser { return this._closeReason; } + + public get messageText(): string + { + return this._messageText; + } }