Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/xmpp.c @ 2156:a54c084af4d6
Add a "carbon" parameter to the hook-{pre,post}-message-in hooks
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 04 Oct 2014 20:38:41 +0200 |
parents | a053629321ed |
children | 96427d9e993c |
comparison
equal
deleted
inserted
replaced
2155:a053629321ed | 2156:a54c084af4d6 |
---|---|
1189 fullbody = g_strdup_printf("[%s]\n%s", subject, body); | 1189 fullbody = g_strdup_printf("[%s]\n%s", subject, body); |
1190 else | 1190 else |
1191 fullbody = g_strdup_printf("[%s]\n", subject); | 1191 fullbody = g_strdup_printf("[%s]\n", subject); |
1192 body = fullbody; | 1192 body = fullbody; |
1193 } | 1193 } |
1194 // XXX/TODO: pass the carbon status (Mikael) | 1194 hk_message_in(bjid, rname, timestamp, body, type, encrypted, carbon); |
1195 hk_message_in(bjid, rname, timestamp, body, type, encrypted); | |
1196 g_free(fullbody); | 1195 g_free(fullbody); |
1197 } | 1196 } |
1198 | 1197 |
1199 gotmessage_return: | 1198 gotmessage_return: |
1200 // Clean up and exit | 1199 // Clean up and exit |