diff options
Diffstat (limited to 'src/plugins/api.c')
-rw-r--r-- | src/plugins/api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/api.c b/src/plugins/api.c index 745e65c3..59d1694a 100644 --- a/src/plugins/api.c +++ b/src/plugins/api.c @@ -475,7 +475,7 @@ void api_incoming_message(const char *const barejid, const char *const resource, const char *const plain) { ProfMessage *message = message_init(); - message->jid = jid_create_from_bare_and_resource(barejid, resource); + message->from_jid = jid_create_from_bare_and_resource(barejid, resource); message->plain = strdup(plain); sv_ev_incoming_message(message); |