Commit b4ebbabb authored by Mohammed Sadiq's avatar Mohammed Sadiq Committed by Mohammed Sadiq

history: Fix a function signature

The order of timestamp and direction were reversed.
parent 261d0641
Pipeline #55942 passed with stages
in 12 minutes and 1 second
......@@ -405,8 +405,8 @@ chatty_conv_get_im_messages_cb (const guchar *msg,
static void
chatty_conv_get_chat_messages_cb (const guchar *msg,
int time_stamp,
int direction,
int time_stamp,
const char *room,
const guchar *who,
const guchar *uuid,
......
......@@ -456,7 +456,7 @@ chatty_history_get_chat_messages (const char *account,
if (skip){
skip = g_strcmp0(oldest_message_displayed, (const char *)uuid);
} else {
cb(msg, time_stamp, direction, room, who, uuid, data);
cb(msg, direction, time_stamp, room, who, uuid, data);
}
}
......
......@@ -62,7 +62,7 @@ chatty_history_get_chat_messages (const char *account,
const char *room,
void (*cb)(const unsigned char *msg,
int direction,
int time_stamp,
int time_stamp,
const char *room,
const unsigned char *who,
const unsigned char *uuid,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment