Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c
- --- a/pidgin/gtkconv.c
- +++ b/pidgin/gtkconv.c
- @@ -6460,7 +6460,8 @@
- } else if ((flags & PURPLE_MESSAGE_RECV) && (old_flags & PURPLE_MESSAGE_RECV)) {
- GList *history = purple_conversation_get_message_history(conv);
- - PurpleConvMessage *last_msg = (PurpleConvMessage *)history->data;
- + PurpleConvMessage *last_msg = history ?
- + (PurpleConvMessage *)history->data : NULL;
- /* If the senders are the same, use appendNextMessage */
- if (purple_strequal(purple_conversation_message_get_sender(last_msg), name)) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement