Error message when onSignal is not implemented

This commit is contained in:
Richard Ramos 2020-05-22 18:00:23 -04:00 committed by Iuri Matias
parent 2eee8c7a2d
commit e6a1e5a8bb
1 changed files with 1 additions and 2 deletions

View File

@ -34,8 +34,7 @@ type Message* = object
# Override this method
method onSignal*(self: SignalSubscriber, data: Signal) {.base.} =
discard
# TODO: log signal received
error "onSignal must be overriden in controller. Signal is unhandled"
type ChatType* = enum
ChatTypeOneToOne = 1,