aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2017-01-15 23:59:31 +0000
committerJames Booth <boothj5@gmail.com>2017-01-15 23:59:31 +0000
commit2b7894ccff4c12003572af965b7f098669f0a7c3 (patch)
tree3879f91a2d3dabca3d48e49370fe5324478388f0 /src/plugins
parentb64646979ea50a13d0c7ec0b1a46969f661569a8 (diff)
downloadprofani-tty-2b7894ccff4c12003572af965b7f098669f0a7c3.tar.gz
Remove status from cl_ev_presence_send
fixes #888
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/api.c2
-rw-r--r--src/plugins/plugins.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/api.c b/src/plugins/api.c
index a4a1f998..8ebb0bb8 100644
--- a/src/plugins/api.c
+++ b/src/plugins/api.c
@@ -493,7 +493,7 @@ api_disco_add_feature(char *plugin_name, char *feature)
// resend presence to update server's disco info data for this client
if (connection_get_status() == JABBER_CONNECTED) {
resource_presence_t last_presence = accounts_get_last_presence(session_get_account_name());
- cl_ev_presence_send(last_presence, connection_get_presence_msg(), 0);
+ cl_ev_presence_send(last_presence, 0);
}
}
diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c
index a4846b20..054cb8e1 100644
--- a/src/plugins/plugins.c
+++ b/src/plugins/plugins.c
@@ -214,8 +214,7 @@ plugins_unload(const char *const name)
if (connection_get_status() == JABBER_CONNECTED) {
char* account_name = session_get_account_name();
resource_presence_t last_presence = accounts_get_last_presence(account_name);
- char *msg = connection_get_presence_msg();
- cl_ev_presence_send(last_presence, msg, 0);
+ cl_ev_presence_send(last_presence, 0);
}
}
return TRUE;