comparison mcabber/mcabber/carbons.c @ 2105:1cc84780eb5f

Very basic carbons support is hacked into mcabber. Messages are now intercepted and parsed. It probably makes more sense to implement XEP-0297: Stanza Forwarding in a more general way. A better way to display the carbons (so the user actually knows it is a carbon message) is in the pipeline.
author Roeland Jago Douma <roeland@famdouma.nl>
date Sun, 03 Mar 2013 14:32:16 +0100
parents c7e9950fa741
children 72876dcf9094
comparison
equal deleted inserted replaced
2104:c7e9950fa741 2105:1cc84780eb5f
60 } 60 }
61 61
62 static LmHandlerResult cb_carbons_enable(LmMessageHandler *h, LmConnection *c, 62 static LmHandlerResult cb_carbons_enable(LmMessageHandler *h, LmConnection *c,
63 LmMessage *m, gpointer user_data) 63 LmMessage *m, gpointer user_data)
64 { 64 {
65 scr_LogPrint(LPRINT_NORMAL|LPRINT_DEBUG, "We have a response! O Yeah!");
66 return LM_HANDLER_RESULT_REMOVE_MESSAGE; 65 return LM_HANDLER_RESULT_REMOVE_MESSAGE;
67 } 66 }