miranda-ng / miranda-ng

Miranda NG: Next Generation of Miranda IM
https://miranda-ng.org
GNU General Public License v2.0
486 stars 126 forks source link

XMPP: Multiuser Chat requests not triggering popup/message #677

Open tjharman opened 7 years ago

tjharman commented 7 years ago

Hi,

For ages at work I've been having people tell me "I invited you to room #xzy, please join!". My problem is, I don't get these requests!

To test, I did a clean fresh install of Miranda: This works! But, my database that I've had for ~3 years with heaps of important information, it doesn't.

I have trired removing every plugin I have except for:

Jabber clist_modern avs

yet still the issue persists.

I have made sure that "Do not show multiuser chat invitations" is unticked.

Logging at the XML Console shows that my client receives the invitation.

I just get no indication.

I upgraded to the latest development version, this made it work for a few tests - but after that it also stopped working. So I've rolled back to stable for the moment and that's the version I am submitting this bug report against.

What I have noticed is if I create a new chat room on our server, I see invitations for this - it seems to work fairly reliably too. But not for the rooms we actually use. I have even tried deleting from my contacts the rooms, but this hasn't made a difference.

CPU: Intel(R) Core(TM) i7-3517U CPU @ 1.90GHz [Intel64 Family 6 Model 58 Stepping 9] [DEP Enabled] [4 CPUs]
Installed RAM: 7915 MBytes
Microsoft Windows 10 Professional Edition, 64-bit (build 14393)
Internet Explorer: 9.11.14393.0 (build 914393)
Administrator privileges: No
OS Languages: (UI | Locale (User/System)) : English/English | English/English
Free disk space on Miranda partition: 61707 MBytes

Miranda NG Version: 0.95.5 build #17337 x64
Build time: 27 Sep 2016 16:47:42
Profile: C:\Users\tim\Dropbox\Miranda\Profiles\TiM\TiM.dat (dbx mmap driver)
Profile size: 17367040 Bytes
Profile creation date: 18 Jan 2017 8:02:28
Language pack: No language pack installed
Service Mode: No

Active Plugins (32):
¤ AdvaImg.dll v.0.11.0.2 [17 Jun 2016 21:10:34] - Miranda image services 
¤ AdvancedAutoAway.dll v.0.8.1.1 [27 Sep 2016 16:45:52] - Advanced Auto Away 
¤ AutoRun.dll v.0.1.0.1 [27 Sep 2016 16:46:30] - AutoRun 
¤ AVS.dll v.0.95.3.4 [27 Sep 2016 16:45:22] - Avatar service 
¤ BossKey.dll v.0.5.0.3 [27 Sep 2016 16:45:36] - BossKey+ 
¤ Clist_modern.dll v.0.9.1.5 [27 Sep 2016 16:46:16] - Modern contact list 
¤ CmdLine.dll v.0.0.4.6 [27 Sep 2016 16:46:10] - Command line 
¤ CrashDumper.dll v.0.0.5.2 [28 Sep 2016 2:46:11] - Crash dumper 
¤ Db_autobackups.dll v.0.0.0.10 [27 Sep 2016 16:45:44] - Db autobackuper 
¤ DbEditorPP.dll v.4.0.1.1 [27 Sep 2016 16:46:14] - Database editor++ 
¤ Dbx_mmap.dll v.0.95.3.1 [27 Sep 2016 16:45:24] - Miranda NG mmap database driver 
¤ Facebook.dll v.0.3.0.0 [27 Sep 2016 16:46:06] - Facebook RM 
¤ FavContacts.dll v.0.1.0.3 [27 Sep 2016 16:45:40] - Favorite contacts 
¤ HistoryPP.dll v.1.5.1.5 [16 Sep 2016 12:11:56] - History++ 
¤ ICQ.dll v.0.11.3.4 [27 Sep 2016 16:45:34] - IcqOscarJ protocol 
¤ Import.dll v.0.95.4.3 [27 Sep 2016 16:45:22] - Import contacts and messages 
¤ Jabber.dll v.0.11.0.4 [28 Sep 2016 2:45:39] - Jabber protocol 
¤ KeepStatus.dll v.0.9.0.2 [27 Sep 2016 16:45:52] - Keep status 
¤ MirOTR.dll v.0.14.1.16 [27 Sep 2016 16:47:22] - Miranda OTR 
¤ NewAwaySys.dll v.0.4.0.4 [27 Sep 2016 16:46:58] - New Away System Mod 
¤ NewXstatusNotify.dll v.1.4.0.11 [27 Sep 2016 16:45:44] - xStatus notify 
¤ Nudge.dll v.0.2.0.2 [27 Sep 2016 16:45:44] - Nudge 
¤ PluginUpdater.dll v.0.1.2.5 [27 Sep 2016 16:46:20] - Plugin updater 
¤ Popup.dll v.2.1.1.12 [27 Sep 2016 16:45:48] - Popup plus 
¤ QuickSearch.dll v.1.4.2.0 [27 Sep 2016 16:47:44] - Quick Search 
¤ SmileyAdd.dll v.0.2.4.1 [27 Sep 2016 16:45:54] - SmileyAdd 
¤ StartupStatus.dll v.0.8.0.48 [27 Sep 2016 16:45:54] - StartupStatus 
¤ StopSpamMod.dll v.0.0.2.0 [27 Sep 2016 16:46:32] - StopSpam mod 
¤ TabSRMM.dll v.3.4.1.2 [27 Sep 2016 16:45:34] - TabSRMM 
¤ Tipper.dll v.2.1.0.7 [27 Sep 2016 16:45:52] - Tipper 
¤ TopToolBar.dll v.0.8.0.4 [27 Sep 2016 16:46:06] - TopToolBar 
¤ Variables.dll v.0.2.3.11 [27 Sep 2016 16:46:06] - Variables 

Unloadable Plugins (1):
¤ DbChecker.dll v.0.0.0.0 [27 Sep 2016 16:46:16] - <unknown> 

Protocols and Accounts:
-------------------------------------------------------------------------------
Facebook                 1 - Enabled 0 - Disabled  Loaded
ICQ                      1 - Enabled 0 - Disabled  Loaded
JABBER                   2 - Enabled 0 - Disabled  Loaded
MetaContacts             1 - Enabled 0 - Disabled  Loaded

Icon Packs:
-------------------------------------------------------------------------------
Flags_icons.dll [6 Apr 2016 18:56:28]
Fp_icons.dll [27 Sep 2016 16:46:26]
gtalk-gmailcoloredballs-v2.dll [7 Sep 2005 23:44:30]
hicoloricq.dll [27 May 2001 2:13:46]
HistoryPP_icons.dll [27 Sep 2016 16:46:20]
Proto_AIM.dll [27 Sep 2016 16:46:06]
Proto_Facebook.dll [27 Sep 2016 16:46:04]
Proto_GG.dll [27 Sep 2016 16:46:06]
Proto_ICQ.dll [27 Sep 2016 16:46:06]
Proto_IRC.dll [27 Sep 2016 16:46:06]
Proto_Jabber.dll [27 Sep 2016 16:46:06]
Proto_MetaContacts.dll [27 Sep 2016 16:46:56]
Proto_mRadio.dll [6 Apr 2016 18:56:02]
Proto_MSN.dll [27 Sep 2016 16:46:06]
Proto_NewsAggregator.dll [17 Apr 2016 5:08:06]
Proto_Skype.dll [18 Apr 2016 5:09:30]
Proto_Twitter.dll [6 Apr 2016 18:55:16]
Proto_WhatsApp.dll [6 Apr 2016 18:57:26]
Proto_Yahoo.dll [27 Sep 2016 16:46:06]
Proto_YAMN.dll [6 Apr 2016 18:56:08]
TabSRMM_icons.dll [27 Sep 2016 16:46:20]
Toolbar_icons.dll [27 Sep 2016 16:46:06]
xStatus_ICQ.dll [27 Sep 2016 16:45:32]
xStatus_Jabber.dll [27 Sep 2016 16:45:32]

I realise this is an annoying bug report, sometimes invites work and sometimes they don't. But I am 100% confident the invites themselves are OK, as I said testing with a fresh new (stable version) Miranda I get the invitation window popup reliability. And the xml console always shows the invites arriving. There's just something in my database/code that's making it not work for me reliabily.

Happy to do any debugging/suggestions you may have.

Robyer commented 7 years ago

You can use Import plugin to import everything from old profile (contacts, settings, accounts) to new clean profile. Will it work there in this case?

tjharman commented 7 years ago

This is a good point - I will attempt this tonight and report back. Thank you for the idea :-)

tjharman commented 7 years ago

Actually I was able to quickly test this now.

Steps: Create new profile "Testing" Import all settings. Invite myself.

Result: Invite message received and works.

HOWEVER:

I closed the client and restarted it. Then invited myself to the room again. This time I did not get an invite.

So the problem seems to be it works for a little while - certainly as long as the client was open to start with. But once I closed the client, the invites for that room don't work anymore. Testing a fresh new room, they DO work.

So yes, I can still reproduce the problem with a "fresh" database (of a full import)

Robyer commented 7 years ago

So is it possible that it works for the SAME room only once? You can open Database Editor++ and check the values of some room (you can export it to ini file), then invite yourself to that room and check changed values (export to another ini file and compare). Maybe you can find out if something differs there?

tjharman commented 7 years ago

I did the following:

Invited myself twice to Test2 room. It worked both times. I grabbed a copy of the DB. I tested the invite again a final time, it still worked.

I closed Miranda.

I opened Miranda and invited myself to Test2 room. No invite/message. I grabbed another copy of the DB.

I'm happy to make the two files available to you privately - if I emailed them zipped to you to the address on your website, would that be acceptable? (Assuming you even want to look at them)

They are full DBEditor .ini backups.

Robyer commented 7 years ago

Ghazan better knows Jabber protocol. @georgehazan Could you look at this?

georgehazan commented 7 years ago

@tjharman send these files via email to ghazan at miranda point im.