
As per commit b5676a2a5 ChatNotification is a GObject, but I was wrongly considering that it was using Tp.Message's as children, instead it just uses custom-built objects to pass information around through signals. Given gjs can only use GObjects as signal parameters, create a small wrapper class to hold the ChatNotification messages and use it as signal parameter. Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2449 https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1112