Stefan on Nostr: Ich glaube ich hab's,... BTW, I love Debsources 🙂 `gsignalnew("xmpp-new-contact", ...
Ich glaube ich hab's,... BTW, I love Debsources 🙂
`gsignalnew("xmpp-new-contact", GTYPEFROM_CLASS(klass),
GSIGNALRUN_LAST, 0, NULL, NULL,
gcclosuremarshalVOIDPOINTER, GTYPENONE, 1, GTYPE_POINTER);`
g_signal_emit_by_name(userdata, "xmpp-new-contact",buddy);
g_signal_connect_object(self->_wrapper, "xmpp-new-contact", G_CALLBACK(xmpp_new_contact), self, G_CONNECT_DEFAULT);
static void xmpp_new_contact(XmppWrapper *_wrapper, gpointer data, XmppConnection *self)
In data ist jeder der buddy,.. muss ich mir noch mal genauer ansehen.
Published at
2025-02-14 14:26:12Event JSON
{
"id": "7bdb5947ec571da2a4a6749278716ccef96b78e0e07fd4002a7196826359b2eb",
"pubkey": "fb818ef5f728cc4133faa39d8d199d5026c7a5333f1adfd564d93a72d3d2baf7",
"created_at": 1739543172,
"kind": 1,
"tags": [
[
"p",
"fb818ef5f728cc4133faa39d8d199d5026c7a5333f1adfd564d93a72d3d2baf7",
"wss://relay.mostr.pub"
],
[
"e",
"408595e559202bcd2744ebbd91b04b5acd7c188ca48fe4824af7cde65b6a92b4",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://devlug.de/social/stefan/p/1739543172.317399",
"activitypub"
]
],
"content": "Ich glaube ich hab's,... BTW, I love Debsources 🙂\n\n`gsignalnew(\"xmpp-new-contact\", GTYPEFROM_CLASS(klass),\nGSIGNALRUN_LAST, 0, NULL, NULL,\ngcclosuremarshalVOIDPOINTER, GTYPENONE, 1, GTYPE_POINTER);`\n\ng_signal_emit_by_name(userdata, \"xmpp-new-contact\",buddy);\n\ng_signal_connect_object(self-\u003e_wrapper, \"xmpp-new-contact\", G_CALLBACK(xmpp_new_contact), self, G_CONNECT_DEFAULT);\n\nstatic void xmpp_new_contact(XmppWrapper *_wrapper, gpointer data, XmppConnection *self)\n\nIn data ist jeder der buddy,.. muss ich mir noch mal genauer ansehen.\n",
"sig": "d14efed64b370f71dca2e1b83cf6fd6c494e61d2c9a40f4b26c8aef08a722a0b2f65ae7173c6114df664e19b11c8756a2b6197d755124b71ce52fd01a7530392"
}