about summary refs log tree commit diff stats
path: root/src/event
diff options
context:
space:
mode:
Diffstat (limited to 'src/event')
-rw-r--r--src/event/server_events.c2
-rw-r--r--src/event/server_events.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index c9f18670..d3d57da2 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -508,7 +508,7 @@ sv_ev_incoming_carbon(char *barejid, char *resource, char *message, char *pgp_me
 }
 
 void
-sv_ev_message_receipt(char *barejid, char *id)
+sv_ev_message_receipt(const char *const barejid, const char *const id)
 {
     ProfChatWin *chatwin = wins_get_chat(barejid);
     if (!chatwin)
diff --git a/src/event/server_events.h b/src/event/server_events.h
index b16eddbc..7dc0107f 100644
--- a/src/event/server_events.h
+++ b/src/event/server_events.h
@@ -58,7 +58,7 @@ void sv_ev_inactive(char *barejid, char *resource);
 void sv_ev_activity(char *barejid, char *resource, gboolean send_states);
 void sv_ev_gone(const char *const barejid, const char *const resource);
 void sv_ev_subscription(const char *from, jabber_subscr_t type);
-void sv_ev_message_receipt(char *barejid, char *id);
+void sv_ev_message_receipt(const char *const barejid, const char *const id);
 void sv_ev_contact_offline(char *contact, char *resource, char *status);
 void sv_ev_contact_online(char *contact, Resource *resource, GDateTime *last_activity, char *pgpkey);
 void sv_ev_leave_room(const char *const room);