Don't ignore incoming messages from current JID
they might be MAM archived messages. Fixes #650
This commit is contained in:
parent
2b88db812d
commit
6bfcce5fcb
@ -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 @@
|
|||||||
'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
|
||||||
|
Loading…
Reference in New Issue
Block a user