[Telepathy-commits] [telepathy-gabble/master] ImFactory: fix receiving chat states
Will Thompson
will.thompson at collabora.co.uk
Tue Feb 3 06:34:51 PST 2009
Previously, chat state nodes were ignored if the message *did not* contain an
<error/>; the sense of the test was inverted
---
src/im-factory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/im-factory.c b/src/im-factory.c
index 03f7733..fb762e1 100644
--- a/src/im-factory.c
+++ b/src/im-factory.c
@@ -276,7 +276,7 @@ im_factory_message_cb (LmMessageHandler *handler,
from, handle, msgtype, body);
}
- if (state != -1 && send_error != GABBLE_TEXT_CHANNEL_SEND_NO_ERROR)
+ if (state != -1 && send_error == GABBLE_TEXT_CHANNEL_SEND_NO_ERROR)
_gabble_im_channel_state_receive (chan, state);
if (body != NULL)
--
1.5.6.5
More information about the telepathy-commits
mailing list