Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
lurch
Commits
4e38ef81
Commit
4e38ef81
authored
Apr 06, 2017
by
Richard Bayerle
Browse files
Changed handler priority to kinda high.
This fixes #36.
parent
42f84da4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lurch.c
View file @
4e38ef81
...
...
@@ -2659,8 +2659,8 @@ static gboolean lurch_plugin_load(PurplePlugin * plugin_p) {
// register handlers
jabber_handle_p
=
purple_plugins_find_with_id
(
JABBER_PROTOCOL_ID
);
(
void
)
purple_signal_connect_priority
(
jabber_handle_p
,
"jabber-receiving-xmlnode"
,
plugin_p
,
PURPLE_CALLBACK
(
lurch_xml_received_cb
),
NULL
,
PURPLE_PRIORITY_HIGHEST
);
(
void
)
purple_signal_connect
(
jabber_handle_p
,
"jabber-sending-xmlnode"
,
plugin_p
,
PURPLE_CALLBACK
(
lurch_xml_sent_cb
),
NULL
);
(
void
)
purple_signal_connect_priority
(
jabber_handle_p
,
"jabber-receiving-xmlnode"
,
plugin_p
,
PURPLE_CALLBACK
(
lurch_xml_received_cb
),
NULL
,
PURPLE_PRIORITY_HIGHEST
-
100
);
(
void
)
purple_signal_connect
_priority
(
jabber_handle_p
,
"jabber-sending-xmlnode"
,
plugin_p
,
PURPLE_CALLBACK
(
lurch_xml_sent_cb
),
NULL
,
PURPLE_PRIORITY_HIGHEST
-
100
);
jabber_pep_register_handler
(
dl_ns
,
lurch_pep_devicelist_event_handler
);
jabber_add_feature
(
dl_ns
,
jabber_pep_namespace_only_when_pep_enabled_cb
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment