From 2078c60477842d7cf6991148e23979565737a8b5 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 26 Jul 2025 11:59:38 +0530 Subject: Refactor heavy + extras.tabline module (incomplete) --- src/events/NotificationReceivedEvent.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/events/NotificationReceivedEvent.hpp') 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()) -- cgit v1.3.1