about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmpp/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/message.c b/src/xmpp/message.c
index d11af8b6..9a82b1f4 100644
--- a/src/xmpp/message.c
+++ b/src/xmpp/message.c
@@ -1172,7 +1172,7 @@ message_is_sent_by_us(ProfMessage *message) {
         // our client sents at least 36 (uuid) + identifier
         if (tmp_len > 36) {
             char *uuid = g_strndup(tmp, 36);
-            char *prof_identifier = connection_get_profanity_identifier();
+            const char *prof_identifier = connection_get_profanity_identifier();
 
             gchar *hmac = g_compute_hmac_for_string(G_CHECKSUM_SHA256,
                     (guchar*)prof_identifier, strlen(prof_identifier),