diff options
author | dequis <dx@dxzone.com.ar> | 2016-12-26 20:07:56 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2016-12-26 20:07:56 -0300 |
commit | a04705bfde7c623605ee0e8449efd61ecc5c0b62 (patch) | |
tree | 889de9e9b8a7b805477970ac687421be9a10e3a4 /protocols/jabber/jabber.h | |
parent | d57484d99125eb602e71629d7cacf76fc36cdd9c (diff) |
jabber: Workaround for servers (like slack) that send echoes without id
Just comparing the body of the last sent message. This isn't foolproof
and sending several messages quickly can make it fail, but it's less
annoying than before. The correct solution is still to fix the server.
In the case of slack I still recommend using the irc gateway instead.
Diffstat (limited to 'protocols/jabber/jabber.h')
-rw-r--r-- | protocols/jabber/jabber.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/jabber/jabber.h b/protocols/jabber/jabber.h index 7774c855..e1087315 100644 --- a/protocols/jabber/jabber.h +++ b/protocols/jabber/jabber.h @@ -160,6 +160,7 @@ struct jabber_chat { char *my_full_jid; /* Separate copy because of case sensitivity. */ struct jabber_buddy *me; char *invite; + char *last_sent_message; }; struct jabber_transfer { |