Commit 6bfcce5f authored by JC Brand's avatar JC Brand

Don't ignore incoming messages from current JID

they might be MAM archived messages.

Fixes #650
parent 2b88db81
...@@ -3,14 +3,15 @@ ...@@ -3,14 +3,15 @@
## 1.0.3 (Unreleased) ## 1.0.3 (Unreleased)
- Bugfix. Login form doesn't render after logging out, when `auto_reconnect = false` - Bugfix. Login form doesn't render after logging out, when `auto_reconnect = false`
[jcbrand] [jcbrand]
- Also indicate new day for the first day's messages. [jcbrand] - Also indicate new day for the first day's messages. [jcbrand]
- Chat bot messages don't appear when they have the same ids as their commands. - Chat bot messages don't appear when they have the same ids as their commands.
[jcbrand] [jcbrand]
- Updated onDisconnected method to fire disconnected event even if `auto_reconnect = false`. [kamranzafar] - Updated onDisconnected method to fire disconnected event even if `auto_reconnect = false`. [kamranzafar]
- Bugfix: MAM messages weren't being fetched oldest first. [jcbrand] - Bugfix: MAM messages weren't being fetched oldest first. [jcbrand]
- #553 Add processing hints to OTR messages [jcbrand]
- Add processing hints to chat state notifications [jcbrand] - Add processing hints to chat state notifications [jcbrand]
- #553 Add processing hints to OTR messages [jcbrand]
- #650 Don't ignore incoming messages with same JID as current user (might be MAM archived) [jcbrand]
## 1.0.2 (2016-05-24) ## 1.0.2 (2016-05-24)
......
...@@ -1273,12 +1273,6 @@ ...@@ -1273,12 +1273,6 @@
'info' 'info'
); );
return true; return true;
} else if (from_jid === converse.connection.jid) {
converse.log(
"onMessage: Ignoring incoming message sent from this client's JID: "+from_jid,
'info'
);
return true;
} else if (utils.isHeadlineMessage(message)) { } else if (utils.isHeadlineMessage(message)) {
// XXX: Ideally we wouldn't have to check for headline // XXX: Ideally we wouldn't have to check for headline
// messages, but Prosody sends headline messages with the // messages, but Prosody sends headline messages with the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment