Bug 128997

Summary: Problem when we are invited to a MUC
Product: [Unmaintained] kopete Reporter: Raymond Lewis Rebbeck <dystopianray>
Component: Jabber PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Patch to fix being invited to a MUC groupchat

Description Raymond Lewis Rebbeck 2006-06-11 18:39:07 UTC
Version:           0.12.0 (using KDE KDE 3.5.2)
Installed from:    Gentoo Packages

After reading http://www.qunu.com/wiki/index.php/Documentation and adding their bot to my roster and tagging myself with some areas that I'd like to help people with. I was not able to successfully help anyone due to kopete being unable to cope with being invited to a jabber groupchat.

When invited to the groupchat kopete was treating each incoming message as though it were from a different chat and when replying to messages it was closing the window the message was typed into. Right-clicking on the groupchat's temporary entry on my roster and selecting 'Start Chat...' seemed to put it in groupchat mode however I couldn't seem to receive any messages and ones that I sent were being repeated to me as though they were coming from the user I was trying to help.

Thus rendering alpha.qunu.com completely unusable as I could not chat with anyone properly or follow any sort of conversation due to kopete's behaviour after being invited to help someone in a groupchat.

I have also noticed this behaviour when being invited to any other groupchat, however simply joining the chat like normal allowed me to join the groupchats in this situation.
Comment 1 Devon Warren 2006-06-12 22:14:32 UTC
I confirm this and I am using KDE 3.5.3 and Kopete 0.12 (from Gentoo packages). I put up a bug report on their site after talking to one of the main guys. He said he would look into it. He said it is probably bad MUC support or something like that. Here is my bug report on their wiki:
http://www.qunu.com/wiki/index.php/Kopete_Errors
Comment 2 Olivier Goffart 2006-06-13 12:02:16 UTC
There is ineed a problem with the invitation from the new muc protocol
(kopete handle GroupChat 1.0)

I'll try to fix that.
Comment 3 Olivier Goffart 2006-06-14 00:07:01 UTC
Can you try the last svn (from 0.12 branch) and see if it is fixed ?

I  don't support joining chat with password in the invitation, because that's a part of the new muc protocol we don't support yet.
Comment 4 Raymond Lewis Rebbeck 2006-06-14 00:13:53 UTC
The problem in Comment #1 is different to what I am experiencing. I can join the groupchat fine and talk to the other person. However Kopete messes up the experience by not opening the normal groupchat interface and treating each incoming message as thought it were from a different person with it's own bubble notification making it almost impossible to participate in the groupchat.
Comment 5 Olivier Goffart 2006-06-14 00:34:09 UTC
Then that should be fixed.
(and the problem in the comment #1 can't be fixed)
Comment 6 Raymond Lewis Rebbeck 2006-06-14 00:38:20 UTC
Could you possibly attach a patch for the changes you made in svn so I can apply it to the code from the tarball I already have?
Comment 7 Olivier Goffart 2006-06-14 00:41:05 UTC
It's the SVN commit 551140

http://websvn.kde.org/?rev=551140&view=rev
Comment 8 Raymond Lewis Rebbeck 2006-06-14 01:50:19 UTC
It appears to work fine. I was successfully able to enter a muc groupchat that I was invited to. Thanks a lot for the fix Olivier.

Attached is the patch against the 0.12 release that I generated from the svn diffs.
Comment 9 Raymond Lewis Rebbeck 2006-06-14 01:51:20 UTC
Created attachment 16588 [details]
Patch to fix being invited to a MUC groupchat
Comment 10 Devon Warren 2006-06-14 04:55:33 UTC
I tried the SVN and my problem is still there. Should I open another bug report for mine?
Comment 11 Olivier Goffart 2006-06-14 15:02:03 UTC
Devon:   if you are talking about the error 407 as shown on screenshot, it will have to wait kde4, and the support of the full MUC protocol.
Comment 12 Frank Siegert 2006-07-02 23:07:29 UTC
So is there a separate bug for the remaining issue or should this one be reopened? After reading through this, I am not sure, whether I can use Kopete with Qunu (I am new to Jabber). I would like to subscribe to the corresponding bug, i. e. the one which will resolve the issues with Qunu. Thanks!
Comment 13 Raymond Lewis Rebbeck 2006-07-03 07:20:33 UTC
Qunu works for me after applying the changes from svn. I've never experienced the issue from #1.