From 92b173c3a8553b59077aa2757c9627cb4c73d29e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 20 Jan 2017 00:11:36 +0300 Subject: Chat_NewSession to return a pointer to a newly created session, not to dig it anymore --- protocols/Gadu-Gadu/src/groupchat.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/Gadu-Gadu') diff --git a/protocols/Gadu-Gadu/src/groupchat.cpp b/protocols/Gadu-Gadu/src/groupchat.cpp index 7137639aed..2463ef22ca 100644 --- a/protocols/Gadu-Gadu/src/groupchat.cpp +++ b/protocols/Gadu-Gadu/src/groupchat.cpp @@ -344,7 +344,8 @@ wchar_t* GGPROTO::gc_getchat(uin_t sender, uin_t *recipients, int recipients_cou int i; for(i = 0; i < recipients_count; i++) chat->recipients[i] = recipients[i]; - if (sender) chat->recipients[i] = sender; + if (sender) + chat->recipients[i] = sender; // Add contacts for(i = 0; i < chat->recipients_count; i++) { -- cgit v1.2.3