diff options
Diffstat (limited to 'src/EventHandler.cpp')
-rw-r--r-- | src/EventHandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/EventHandler.cpp b/src/EventHandler.cpp index cad3e4f..edf4c13 100644 --- a/src/EventHandler.cpp +++ b/src/EventHandler.cpp @@ -21,6 +21,9 @@ void EventHandler::handleUpdate(const Update::Ptr& update) const { if (update->message != nullptr) { handleMessage(update->message); } + if (update->channelPost != nullptr) { + handleMessage(update->channelPost); + } } void EventHandler::handleMessage(const Message::Ptr& message) const { |