about summary refs log tree commit diff stats
path: root/src/xmpp/message.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-03-14 16:45:44 +0000
committerJames Booth <boothj5@gmail.com>2015-03-14 16:45:44 +0000
commita79ea3cbe239f6ce9db37896b2251c1b25143b7d (patch)
tree77ea854ee1e3c17d10dd92e1815c3a936aea1000 /src/xmpp/message.c
parent060dcc24e313674ec8aa353e3e203e73216eb65a (diff)
parentede3368f7ad0f66928cdf506f3c51ffe64653a89 (diff)
downloadprofani-tty-a79ea3cbe239f6ce9db37896b2251c1b25143b7d.tar.gz
Merge branch 'master' into xep-0184
Diffstat (limited to 'src/xmpp/message.c')
-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 4a8bec8c..5663dbfc 100644
--- a/src/xmpp/message.c
+++ b/src/xmpp/message.c
@@ -526,7 +526,7 @@ _chat_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza,
     xmpp_stanza_t *carbons = xmpp_stanza_get_child_by_ns(stanza, STANZA_NS_CARBONS);
     if(carbons) {
         char *name = xmpp_stanza_get_name(carbons);
-        if (g_strcmp0(name, "received") == 0) {
+        if ((g_strcmp0(name, "received") == 0) || (g_strcmp0(name, "sent")) == 0){
             xmpp_stanza_t *forwarded = xmpp_stanza_get_child_by_ns(carbons, STANZA_NS_FORWARD);
             xmpp_stanza_t *message = xmpp_stanza_get_child_by_name(forwarded, STANZA_NAME_MESSAGE);