diff options
Diffstat (limited to '')
| -rw-r--r-- | src/events/NotificationReceivedEvent.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/events/NotificationReceivedEvent.hpp b/src/events/NotificationReceivedEvent.hpp index ade2132..fd5a554 100644 --- a/src/events/NotificationReceivedEvent.hpp +++ b/src/events/NotificationReceivedEvent.hpp @@ -16,8 +16,7 @@ public: } void lua_push(lua_State *state) const override { - lua_newtable(state); - SET_FIELD("type", string, kind.toStdString().c_str()) + Event::lua_push(state); SET_FIELD("title", string, notification->title().toStdString().c_str()) SET_FIELD("message", string, notification->message().toStdString().c_str()) SET_FIELD("tag", string, notification->tag().toStdString().c_str()) |
