aboutsummaryrefslogtreecommitdiff
path: root/src/events/NotificationReceivedEvent.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/NotificationReceivedEvent.hpp')
-rw-r--r--src/events/NotificationReceivedEvent.hpp3
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())