Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Support/Help => Topic started by: thd on 27 05 2020, 18:36:52

Title: JABBER(XMPP) Chat rooms sending message causes duplication of message
Post by: thd on 27 05 2020, 18:36:52
When a user within the chat room sends a message the other users in the chat room can receive it multiple times.  Recipients may not receive the same number of duplicated message.  User A may get it 3 times and user B may get it 5 times.  Below is the version information from one of the users. 


VersionInfo
Quote
CPU: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz [Intel64 Family 6 Model 142 Stepping 12] [DEP Enabled] [8 CPUs]
Installed RAM: 12131 MBytes
Microsoft Windows 10 Professional Edition, 64-bit (build 18363)
Internet Explorer: 9.11.18362.0 (build 918362)
Administrator privileges: No
OS Languages: (UI | Locale (User/System)) : English/English | English/English
Free disk space on Miranda partition: 426146 MBytes

Miranda NG Version: 0.95.11 build #22556 (0b504a8a8e) x64
Build time: 15 May 2020 15:08:56
Profile: C:\Miranda NG\Profiles\deB\deB.dat
Profile size: 2097152 Bytes
Profile creation date: 8 May 2020 11:46:39
Language pack: No language pack installed
Service Mode: No

Active Plugins (14):
¤ AutoRun.dll v.0.1.0.1 [18 Apr 2020 16:42:18] - AutoRun
¤ AVS.dll v.0.98.1.2 [3 May 2020 14:12:42] - Avatar service
¤ Clist_modern.dll v.0.9.1.10 [3 May 2020 14:13:10] - Modern contact list
¤ CrashDumper.dll v.0.1.0.4 [18 Apr 2020 16:42:10] - Crash dumper
¤ Db_autobackups.dll v.0.1.0.4 [15 May 2020 15:09:12] - Db autobackuper
¤ Dbx_mdbx.dll v.0.95.9.1 [15 May 2020 15:10:40] - Miranda NG MDBX database driver
¤ Dummy.dll v.0.2.0.0 [15 May 2020 15:10:06] - Dummy protocol
¤ Import.dll v.0.95.11.1 [15 May 2020 15:09:20] - Import contacts and messages
¤ Jabber.dll v.0.95.11.1 [15 May 2020 15:09:40] - Jabber protocol
¤ PluginUpdater.dll v.0.2.0.6 [18 Apr 2020 16:42:10] - Plugin updater
¤ SpellChecker.dll v.0.2.6.6 [18 Apr 2020 16:42:56] - Spell checker
¤ StatusManager.dll v.1.2.0.6 [18 Apr 2020 16:42:48] - Status manager
¤ TabSRMM.dll v.3.6.1.2 [15 May 2020 15:09:12] - TabSRMM
¤ TopToolBar.dll v.0.8.0.5 [18 Apr 2020 16:42:00] - TopToolBar

Protocols and Accounts:
-------------------------------------------------------------------------------
JABBER                   1 - Enabled 0 - Disabled  Loaded

Icon Packs:
-------------------------------------------------------------------------------
 Flags_icons.dll [18 Apr 2020 16:43:22]
 Proto_Dummy.dll [15 May 2020 15:10:46]
 Proto_Jabber.dll [15 May 2020 15:10:46]
 Proto_MetaContacts.dll [15 May 2020 15:10:46]
 TabSRMM_icons.dll [15 May 2020 15:10:48]
 Toolbar_icons.dll [3 May 2020 14:14:20]
 xStatus_Jabber.dll [15 May 2020 15:10:46]
[close]
Title: Re: JABBER(XMPP) Chat rooms sending message causes duplication of message
Post by: ghazan on 03 06 2020, 08:13:59
thd,
a network log for Core & Jabber is appreciated to debug the situation with these events.
refer to our Wiki (https://wiki.miranda-ng.org/index.php?title=Network_log) about the info how to make network logs
Title: Re: JABBER(XMPP) Chat rooms sending message causes duplication of message
Post by: thd on 09 06 2020, 19:24:39
Here is the network log.
Title: Re: JABBER(XMPP) Chat rooms sending message causes duplication of message
Post by: ghazan on 10 06 2020, 14:48:19
thd,
yes, your server really sends you five copies of each message, that's true, and looks like a kind of madness.
you need to consult with the server administrator about this strange and unwanted behaviour
Title: Re: JABBER(XMPP) Chat rooms sending message causes duplication of message
Post by: thd on 14 07 2020, 21:19:57
We have been doing a lot of testing, one thing we have noticed is that when a user does a shutdown/restart Miranda is not changing the user to offline.  We believe this is causing a part of the issue.  I do not see a setting or component to handle that.
Title: Re: JABBER(XMPP) Chat rooms sending message causes duplication of message
Post by: ghazan on 15 07 2020, 15:46:02
thd,
1. in XMPP server shall forcibly set an offline status, when a client closes its socket.

2. you can force Miranda to move all accounts offline before exiting, using StatusManager plugin
(https://i.imgur.com/7skPtGv.png)